netCDF 4.0 group data read by NCL is different from ncdump

From: Wenshan Wang <wenshanw_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 12 2013 - 22:00:41 MST

Dear all,

I am using NCL 6.1.2 to read netCDF 4.0 data within groups.
But the results are different from that I got using ncdump.

I uploaded the test file snd_LImon_all-mdl_historical_all-nsm_clm.nc onto
ftp.cgd.ucar.edu/incoming.

Here is my codes:
 dir = "~/data/cmip5/output/4plot/"
 fn = "snd_LImon_all-mdl_historical_
all-nsm_clm.nc"
 gg = "/snd_CCSM4/lat"
 dd = fin->$gg$
 print(dd)

The results will be all 0.
But using ncdump, I can get the valid latitude from -90 to 90.

Thank you!

Best,
Wenshan

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 12 22:01:12 2013

This archive was generated by hypermail 2.1.8 : Wed Feb 13 2013 - 09:25:58 MST