Hello NCL,
I'm trying to write a new netcdf file after calculating total column CO from
WRF-Chem data. I'm able to successfully write the data itself to the file
(attached ncview screen shot), but there seems to be no associated lat / lon
information. Following this, I'm using CDO tools to convert to grib, and I'm
getting a "unsupported generic grid" error.
So, I'm attempting to create and add the lat/lon information following
previous NCL posts. Below is what I'm trying to do by creating a lat / lon
grid. The NCL script doesn't fail anywhere, yet when using CDO, I still get
the "unsupported generic grid" error message.
I'm not sure if this is a WRF lat/lon, NCL or CDO issue, but any help or
direction would be greatly appreciated.
Thanks,
Zack
day = 22
ncdf_KF = addfile("WRF_TOTCO_KF_"+day+".nc" ,"c") ; open output
netCDF file
nlat = 1
mlon = 1
lat = fspan(40,75,nlat)
lon = fspan(110,160,mlon)
MC_a_totco!0 = "lat"
MC_a_totco@lat = lat
lat_at_units = "degrees_north"
lat_at_long_name = "latitude"
MC_a_totco!1 = "lon"
MC_a_totco@lon = lon
lon_at_units = "degrees_east"
lon_at_long_name = "longitude"
ncdf_KF->MC_a_totco = MC_a_totco
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Fri Nov 19 2010 - 11:51:06 MST