Hi CMS Helpdesk:
I am trying to figure out how to plot 1D land-only data better. The program ncview doesn’t seem to handle it. I have written Python code in the past to do this, but now I am trying to see if cfplot can handle it. I can’t immediately make cfplot work with 1D land-only data. Can you help?
I also tried to get cfview work to do this on JASMIN. But I get an error: “Not enough data to make a contour plot”
See below for my cfplot attempt.
This is what I have tried so far on JASMIN:
module load jaspy python import cf import cfplot zz=cf.read("/gws/nopw/j04/jules/data/WFD-EI-Forcing_copy2//Rainf_WFDEI_GPCC_land/Rainf_WFDEI_GPCC_land_199001.nc") zz #this is the output: #[<CF Field: long_name=Mean rainfall rate over the #previous 3 hours(ncdim%tstep(248), ncdim%land(67209)) kg/m2s>, #<CF Field: ncvar%lat(ncdim%land(67209)) grid box centre degrees_north>, #<CF Field: ncvar%lon(ncdim%land(67209)) grid box centre degrees_east>, #<CF Field: long_name=time since start of month(ncdim%tstep(248)) seconds since 1990-01-01 00:00:00>, #<CF Field: long_name=time steps since start of month(ncdim%tstep(248)) time steps since 1990-01-01 00:00:00>] cfplot.con(zz) #that didn't work, giving this error: #"cfp.con - cannot contour a field list" zzz=zz cfplot.con(zzz) #that didn't work, giving this warning: #"Warning: find_data_names error - #cannot find a coordinate for domainaxis0 in the data"