[gradsusr] Error while reading CMIP5 GFDL-ESM2M rainfall data
Jennifer Adams
jma at cola.iges.org
Thu Feb 20 09:15:39 EST 2014
I have a copy of this file and I am not able to reproduce this error. I suggest you retrieve it again, perhaps from the original source instead of ICTP, or else you can notify the administrator of the clima-dods server that something is wrong with that file.
My xdfopen-style descriptor for this data set (which includes all times from 186101 through 200512) is printed below. Although the file has a 365-day calendar, it is not necessary to add that to the descriptor OPTIONS because it is monthly data. But you absolutely do need a complete TDEF entry and the CHSUB entries are also required because there is no 5-year template substitution string.
--Jennifer
DSET /data/cmip5/data/historical/atmos/mon/Amon/pr/NOAA-GFDL.GFDL-ESM2M/r1i1p1/pr_Amon_GFDL-ESM2M_historical_r1i1p1_%ch.nc
OPTIONS template
TDEF time 1740 linear 01jan1861 1mo
CHSUB 1 60 186101-186512
CHSUB 61 120 186601-187012
CHSUB 121 180 187101-187512
CHSUB 181 240 187601-188012
CHSUB 241 300 188101-188512
CHSUB 301 360 188601-189012
CHSUB 361 420 189101-189512
CHSUB 421 480 189601-190012
CHSUB 481 540 190101-190512
CHSUB 541 600 190601-191012
CHSUB 601 660 191101-191512
CHSUB 661 720 191601-192012
CHSUB 721 780 192101-192512
CHSUB 781 840 192601-193012
CHSUB 841 900 193101-193512
CHSUB 901 960 193601-194012
CHSUB 961 1020 194101-194512
CHSUB 1021 1080 194601-195012
CHSUB 1081 1140 195101-195512
CHSUB 1141 1200 195601-196012
CHSUB 1201 1260 196101-196512
CHSUB 1261 1320 196601-197012
CHSUB 1321 1380 197101-197512
CHSUB 1381 1440 197601-198012
CHSUB 1441 1500 198101-198512
CHSUB 1501 1560 198601-199012
CHSUB 1561 1620 199101-199512
CHSUB 1621 1680 199601-200012
CHSUB 1681 1740 200101-200512
On Feb 20, 2014, at 8:56 AM, Kanhu Charan Pattnayak wrote:
> Dear All,
> I downloaded the GFDL-ESM2M rainfall data (pr_Amon_GFDL-ESM2M_historical_r1i1p1_186101-186512.nc) from the following website
>
> http://clima-dods.ictp.it/data/d8/cordex/CMIP5/monthly/hist/GFDL-ESM2M/pr_Amon_GFDL-ESM2M_historical_r1i1p1_186101-186512.nc
>
> But I am not able to open this file in grads.
> The following errors are coming
>
> While ncdump
>
> ncdump -h pr_Amon_GFDL-ESM2M_historical_r1i1p1_200101-200512.nc
> ncdump: pr_Amon_GFDL-ESM2M_historical_r1i1p1_200101-200512.nc: NetCDF: Unknown file format
> I
>
> in GrADS
>
> ga-> sdfopen pr_Amon_GFDL-ESM2M_historical_r1i1p1_200101-200512.nc
> Scanning self-describing file: pr_Amon_GFDL-ESM2M_historical_r1i1p1_200101-200512.nc
> Error: nc_open failed to open file pr_Amon_GFDL-ESM2M_historical_r1i1p1_200101-200512.nc
> NetCDF: Unknown file format
> gadsdf: Couldn't ingest SDF metadata.
>
> I also used control file(attached with this mail) still not able to plot this data.
>
> ga-> open test.ctl
> Scanning description file: test.ctl
> Data file pr_Amon_GFDL-ESM2M_historical_r1i1p1_%ch.nc is open as file 1
> LON set to 0 360
> LAT set to -89 89
> LEV set to 0 0
> Time values set: 1861:1:15:12 1861:1:15:12
> E set to 1 1
> ga-> d pr
> Cannot contour grid - all undefined values
>
>
> Kindly suggest me how to use this data.
>
> --
> Kanhu Charan Pattnayak (Research Scholar)
> Room No.311, Block - VI
> Centre for Atmospheric Sciences
> IIT Delhi, Hauz Khas
> New Delhi - 110 016
> India
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140220/a6bfb189/attachment.html
More information about the gradsusr
mailing list