<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1417719357793_5852">Dear NCL users,</div><div id="yui_3_16_0_1_1417719357793_6009" dir="ltr"><br></div><div id="yui_3_16_0_1_1417719357793_6010" dir="ltr">In the below is about the metadata of a netCDF file, generated by using NCL script. I would like to do some modification about the metadata. Can one give any suggestion how to do it?</div><div id="yui_3_16_0_1_1417719357793_6012" dir="ltr"><br></div><div id="yui_3_16_0_1_1417719357793_6013" dir="ltr">(1) modifying the coordinates from (tas:coordinates = "lon lat") to (tas:coordinates = "lon lat height")</div><div id="yui_3_16_0_1_1417719357793_6711" style="" class="">(2) the rotated_pole is a
variable without a dimension, because it is a variable without any
data. How can I improve it here?</div><div id="yui_3_16_0_1_1417719357793_7367" dir="ltr" style="" class="">(3) what is the meaning of ncl3 and ncl5? how to remove them from the metadata?</div><div id="yui_3_16_0_1_1417719357793_7652" dir="ltr" style="" class=""><br></div><div id="yui_3_16_0_1_1417719357793_7653" dir="ltr" style="" class="">Thanks so much in advance.</div><div id="yui_3_16_0_1_1417719357793_7654" dir="ltr" style="" class=""><br></div><div id="yui_3_16_0_1_1417719357793_7655" dir="ltr" style="" class="">Cheers,</div><div id="yui_3_16_0_1_1417719357793_7656" dir="ltr" style="" class="">Mark<br></div><div id="yui_3_16_0_1_1417719357793_6194" dir="ltr"></div><div id="yui_3_16_0_1_1417719357793_6931" style="" class=""><br></div><br><div></div><div dir="ltr" id="yui_3_16_0_1_1417719357793_6016">===metadata below=========<br></div><div id="yui_3_16_0_1_1417719357793_8313">ncdump -h tas_AFR-44_NCC-NorESM1-M_historical_r1i1p1_BCCR-WRF331C_v1_mon_195001-195012.nc <br style="" class=""></div><div id="yui_3_16_0_1_1417719357793_6017"><br></div><div id="yui_3_16_0_1_1417719357793_6018">netcdf tas_AFR-44_NCC-NorESM1-M_historical_r1i1p1_BCCR-WRF331C_v1_mon_195001-195012 {<br style="" class="">dimensions:<br style="" class="">&nbsp;&nbsp;&nbsp; time = UNLIMITED ; // (12 currently)<br style="" class="">&nbsp;&nbsp;&nbsp; rlon = 213 ;<br style="" class="">&nbsp;&nbsp;&nbsp; rlat = 220 ;<br style="" class="">&nbsp;&nbsp;&nbsp; ncl3 = 9 ;<br style="" class="">&nbsp;&nbsp;&nbsp; bnds = 2 ;<br style="" class="">&nbsp;&nbsp;&nbsp; ncl5 = 1 ;<br style="" class="">variables:<br style="" class="">&nbsp;&nbsp;&nbsp; double time(time) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time:long_name = "time" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time:standard_name = "time" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time:units = "days since 1949-12-01 00:00:00" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time:calendar = "standard" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time:axis = "T" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time:bounds = "time_bnds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double rlon(rlon) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlon:long_name = "longitude in rotated pole grid" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlon:standard_name = "grid_longitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlon:units = "degrees" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlon:axis = "X" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double rlat(rlat) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlat:long_name = "latitude in rotated pole grid" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlat:standard_name = "grid_latitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlat:units = "degrees" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rlat:axis = "Y" ;<br style="" class="">&nbsp;&nbsp;&nbsp; char rotated_pole(ncl3) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rotated_pole:grid_mapping_name = "rotated_latitude_longitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rotated_pole:grid_north_pole_latitude = 90.f ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rotated_pole:grid_north_pole_longitude = -180.f ;<br style="" class="">&nbsp;&nbsp;&nbsp; float tas(time, rlat, rlon) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tas:long_name = "Near-Surface Air Temperature" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tas:standard_name = "air_temperature" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tas:units = "K" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tas:cell_methods = "time: mean" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tas:_FillValue = 1.e+20f ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tas:missing_value = 1.e+20f ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tas:coordinates = "lon lat" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double time_bnds(time, bnds) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time_bnds:long_name = "Time Bounds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time_bnds:standard_name = "time bounds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; time_bnds:coordinates = "time bnds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double height(ncl5) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; height:long_name = "height" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; height:standard_name = "height" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; height:units = "m" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; height:positive = "up" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; height:axis = "Z" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double lon(rlat, rlon) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon:long_name = "longitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon:standard_name = "longitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon:units = "degrees_east" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon:bounds = "lon_bnds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon:coordinates = "lon lat" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double lat(rlat, rlon) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat:long_name = "latitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat:standard_name = "latitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat:units = "degrees_north" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat:bounds = "lat_bnds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat:coordinates = "lon lat" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double lon_bnds(rlat, rlon, bnds) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon_bnds:long_name = "Longitude Bounds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon_bnds:standard_name = "longitude bounds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lon_bnds:coordinates = "lon lat bnds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; double lat_bnds(rlat, rlon, bnds) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat_bnds:long_name = "Latitude Bounds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat_bnds:standard_name = "latitude bounds" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lat_bnds:coordinates = "lon lat bnds" ;<br style="" class=""><br></div><div style="" class="" id="yui_3_16_0_1_1417719357793_5852"><br style="" class=""></div></div></body></html>