Re: cannot obtain coordinates from netCDF 4.0 groups

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 13 2013 - 08:34:12 MST

Wenshan,

We will take a look and get back to you.

Wei

huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Feb 12, 2013, at 9:10 PM, Wenshan Wang <wenshanw@uci.edu> wrote:

> Dear all,
>
> I am using NCL 6.1.2 to read netCDF 4.0 data within groups.
> However, the coordinates information cannot be obtained together with data, even though the coordinate of one variable has been set and there are lat and lon in each of the groups.
>
> 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/snd"
> dd = fin->$gg$
> printVarSummary(dd)
>
> Results:
> Variable: dd
> Type: float
> Total Size: 221184 bytes
> 55296 values
> Number of Dimensions: 3
> Dimensions and sizes: [time | 1] x [lat | 192] x [lon | 288]
> Coordinates:
> Number Of Attributes: 11
> standard_name : surface_snow_thickness
> long_name : Snow Depth
> comment : SNOWDP unchanged, CMIP5_table_comment: where land over land, this is computed as the mean thickness of snow in the land portion of the grid cell (averaging over the entire land portion, including the snow-free fraction). Reported as 0.0 where the land fraction is 0.
> units : m
> original_name : SNOWDP
> cell_methods : time: mean (interval: 30 days) area: mean where land
> cell_measures : area: areacella
> history : 2012-04-06T21:57:06Z altered by CMOR: replaced missing value flag (1e+36) with standard missing value (1e+20).
> missing_value : 1e+20
> _FillValue : 1e+20
> associated_files : baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_landIce_fx_CCSM4_historical_r0i0p0.nc areacella: areacella_fx_CCSM4_historical_r0i0p0.nc
>
> So, anything wrong with the codes?
> Thank you very much!
>
> Best,
> Wenshan
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 13 08:34:24 2013

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