[gradsusr] Fwd: Re: XDEF for CMIP5 data

Hoop hoop at colorado.edu
Wed Feb 22 23:32:31 EST 2017


Oops; wrong sender address.  -Hoop


-------- Forwarded Message --------
Subject: Re: XDEF for CMIP5 data
Date: Wed, 22 Feb 2017 21:31:29 -0700
From: Don Hooper (NOAA Affiliate) <don.k.hooper at noaa.gov>
Reply-To: don.k.hooper at noaa.gov
Organization: NOAA-CIRES ESRL/PSD
To: gradsusr at gradsusr.org

Syairah Atiqah Atiq,

That was some trippy formatting, what with the lack of newline
characters and all those question marks, so I reformatted the
ncdump output at the end of my message to something more readable.
Clearly, this not ordinary rectangular lat-lon data.  It's projected
on to some other bizarre grid.  So, the "sdfopen" will *never* be
able to read it as is.  Either one has to come up with a Data
Descriptor File (DDF) with a PDEF statement, or one has to regrid
to a regular lat-lon grid.

-Hoop

netcdf sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512 {
dimensions:
          time = UNLIMITED ; // (1872 currently)
	j = 300 ;
          i = 360 ;
          bnds = 2 ;
          vertices = 4 ;
variables:
          double time(time) ;
                  time:bounds = "time_bnds" ;
                  time:units = "days since 0001-01-01" ;
                  time:calendar = "proleptic_gregorian" ;
                  time:axis = "T" ;
                  time:long_name = "time" ;
                  time:standard_name = "time" ;
          double time_bnds(time, bnds) ;
          int j(j) ;
                  j:units = "1" ;
                  j:long_name = "cell index along second dimension" ;
          int i(i) ;
                  i:units = "1" ;
                  i:long_name = "cell index along first dimension" ;
          float lat(j, i) ;
                  lat:standard_name = "latitude" ;
                  lat:long_name = "latitude coordinate" ;
                  lat:units = "degrees_north" ;
                  lat:bounds = "lat_vertices" ;
          float lon(j, i) ;
                  lon:standard_name = "longitude" ;
                  lon:long_name = "longitude coordinate" ;
                  lon:units = "degrees_east" ;
                  lon:bounds = "lon_vertices" ;
          float lat_vertices(j, i, vertices) ;
                  lat_vertices:units = "degrees_north" ;
          float lon_vertices(j, i, vertices) ;
                  lon_vertices:units = "degrees_east" ;
          float sic(time, j, i) ;
                  sic:standard_name = "sea_ice_area_fraction" ;
                  sic:long_name = "Sea Ice Area Fraction" ;
                  sic:comment = "fraction of grid cell covered by sea 
ice." ;
                  sic:units = "%" ;
                  sic:original_units = "1" ;
                  sic:history =
"2012-01-17T03:16:49Z altered by CMOR: Converted units from \'1\' to \'%\'.
                  sic:cell_methods = "time: mean" ;
                  sic:cell_measures = "area: areacello" ;
                  sic:missing_value = 1.e+020f ;
                  sic:_FillValue = 1.e+020f ;
                  sic:associated_files =
"baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation
gridspecFile: gridspec_seaIce_fx_ACCESS1-0_historical_r0i0p0.nc
areacello: areacello_fx_ACCESS1-0_historical_r0i0p0.nc" ;
                  sic:coordinates = "lat lon" ;
// global attributes:
                  :institution =
"CSIRO (Commonwealth Scientific and Industrial Research Organisation,
   Australia), and BOM (Bureau of Meteorology, Australia)" ;
                  :institute_id = "CSIRO-BOM" ;
                  :experiment_id = "historical" ;
                  :source =
"ACCESS1-0 2011. Atmosphere: AGCM v1.0 (N96 grid-point,
1.875 degrees EW x approx 1.25 degree NS, 38 levels);
   ocean: NOAA/GFDL MOM4p1 (nominal 1.0 degree EW x 1.0 degrees NS,
tripolar north of 65N, equatorial refinement to 1/3 degree from 10S to 10 N,
cosine dependent NS south of 25S, 50 levels); sea ice: CICE4.1 (nominal 1.0
degree EW x 1.0 degrees NS, tripolar north of 65N, equatorial refinement to
1/3 degree from 10S to 10 N, cosine dependent NS south of 25S);
land: MOSES2 (1.875 degree EW x 1.25 degree NS, 4 levels" ;
                  :model_id = "ACCESS1-0" ;
                  :forcing =
"GHG, Oz, SA, Sl, Vl, BC, OC, (GHG = CO2, N2O, CH4, CFC11, CFC12, CFC113,
   HCFC22, HFC125, HFC134a )" ;
                  :parent_experiment_id = "piControl" ;
                  :parent_experiment_rip = "r1i1p1" ;
                  :branch_time = 109207. ;
                  :contact =
"The ACCESS wiki: http://wiki.csiro.au/confluence/display/ACCESS/Home.
   Contact Tony.Hirst at csiro.au regarding the ACCESS coupled climate model.
   Contact Peter.Uhe at csiro.au regarding ACCESS coupled climate model CMIP5
   datasets." ;
                  :history =
"CMIP5 compliant file produced from raw ACCESS model output using the ACCESS
   Post-Processor and CMOR2. 2012-01-17T03:16:49Z CMOR rewrote data to 
comply
   with CF standards and CMIP5 requirements." ;
                  :references =
"See http://wiki.csiro.au/confluence/display/ACCESS/ACCESS+Publications" ;
                  :initialization_method = 1 ;
                  :physics_version = 1 ;
                  :tracking_id = "cc07b4bf-f3dc-483a-8407-d1a34397d273" ;
                  :version_number = "v20120115" ;
                  :product = "output" ;
                  :experiment = "historical" ;
                  :frequency = "mon" ;
                  :creation_date = "2012-01-17T03:16:49Z" ;
                  :Conventions = "CF-1.4" ;
		:project_id = "CMIP5" ;
		:table_id =
"Table OImon (27 April 2011) f04ba250f3acd5b9e847c21d5752eb85" ;
                  :title =
"ACCESS1-0 model output prepared for CMIP5 historical" ;
                  :parent_experiment = "pre-industrial control" ;
                  :modeling_realm = "seaIce ocean" ;
                  :realization = 1 ;
                  :cmor_version = "2.8.0" ;
}


On 02/22/2017 07:49 PM, gradsusr-request at gradsusr.org wrote:
> Date: Thu, 23 Feb 2017 02:49:39 +0000 (UTC)
> From: syairah atiqah atiq <syairahatiqah at yahoo.com>
> Subject: [gradsusr] XDEF for CMIP5 data
> To: GrADS Users Forum <gradsusr at gradsusr.org>
>
> Dear experts,
> Kindly help your help. I'm downloaded a data of sea ice from CMIP5,?sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512.nc. To open it,I do the control file as below but it still can't be open
> dset ^E:\CMIP5\ACCESS1-0\sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512.ncoptions 365_day_calendarTDEF time 1872 LINEAR 0Z1jan1850 1mon
> In grads:
> ga-> xdfopen E:\CMIP5\ACCESS1-0\sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512.ctlScanning Descriptor File: ?E:\CMIP5\ACCESS1-0\sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512.ctlgadsdf: SDF file has no discernable X coordinate.? To open this file with GrADS, use a descriptor file with an XDEF entry.? Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.htmlSDF Descriptor file E:\CMIP5\ACCESS1-0\sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512.ctl was not successfully opened & parsed.
> Here the details of the data:
> E:\CMIP5\ACCESS1-0>ncdump -h sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512.ncnetcdf sic_OImon_ACCESS1-0_historical_r1i1p1_185001-200512 {dimensions:? ? ? ? time = UNLIMITED ; // (1872 currently)? ? ? ? j = 300 ;? ? ? ? i = 360 ;? ? ? ? bnds = 2 ;? ? ? ? vertices = 4 ;variables:? ? ? ? double time(time) ;? ? ? ? ? ? ? ? time:bounds = "time_bnds" ;? ? ? ? ? ? ? ? time:units = "days since 0001-01-01" ;? ? ? ? ? ? ? ? time:calendar = "proleptic_gregorian" ;? ? ? ? ? ? ? ? time:axis = "T" ;? ? ? ? ? ? ? ? time:long_name = "time" ;? ? ? ? ? ? ? ? time:standard_name = "time" ;? ? ? ? double time_bnds(time, bnds) ;? ? ? ? int j(j) ;? ? ? ? ? ? ? ? j:units = "1" ;? ? ? ? ? ? ? ? j:long_name = "cell index along second dimension" ;? ? ? ? int i(i) ;? ? ? ? ? ? ? ? i:units = "1" ;? ? ? ? ? ? ? ? i:long_name = "cell index along first dimension" ;? ? ? ? float lat(j, i) ;? ? ? ? ? ? ? ? lat:standard_name = "latitude" ;? ? ? ? ? ? ? ? lat:long_name = "latitude coordinate" ;? ? ? ? ? !
>  ? ? ? lat:units = "degrees_north" ;? ? ? ? ? ? ? ? lat:bounds = "lat_vertices" ;? ? ? ? float lon(j, i) ;? ? ? ? ? ? ? ? lon:standard_name = "longitude" ;? ? ? ? ? ? ? ? lon:long_name = "longitude coordinate" ;? ? ? ? ? ? ? ? lon:units = "degrees_east" ;? ? ? ? ? ? ? ? lon:bounds = "lon_vertices" ;? ? ? ? float lat_vertices(j, i, vertices) ;? ? ? ? ? ? ? ? lat_vertices:units = "degrees_north" ;? ? ? ? float lon_vertices(j, i, vertices) ;? ? ? ? ? ? ? ? lon_vertices:units = "degrees_east" ;? ? ? ? float sic(time, j, i) ;? ? ? ? ? ? ? ? sic:standard_name = "sea_ice_area_fraction" ;? ? ? ? ? ? ? ? sic:long_name = "Sea Ice Area Fraction" ;? ? ? ? ? ? ? ? sic:comment = "fraction of grid cell covered by sea ice." ;? ? ? ? ? ? ? ? sic:units = "%" ;? ? ? ? ? ? ? ? sic:original_units = "1" ;? ? ? ? ? ? ? ? sic:history = "2012-01-17T03:16:49Z altered by CMOR: Converted units from \'1\' to \'%\'. 2012-01-17T03:16:49Z altered by CMOR: replaced missing value flag (1e+30) with standard m!
>  issing value (1e+20)." ;? ? ? ? ? ? ? ? sic:cell_methods = "time: mean
> " ;? ? ? ? ? ? ? ? sic:cell_measures = "area: areacello" ;? ? ? ? ? ? ? ? sic:missing_value = 1.e+020f ;? ? ? ? ? ? ? ? sic:_FillValue = 1.e+020f ;? ? ? ? ? ? ? ? sic:associated_files = "baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_seaIce_fx_ACCESS1-0_historical_r0i0p0.nc areacello: areacello_fx_ACCESS1-0_historical_r0i0p0.nc" ;? ? ? ? ? ? ? ? sic:coordinates = "lat lon" ;
> // global attributes:? ? ? ? ? ? ? ? :institution = "CSIRO (Commonwealth Scientific and Industrial Research Organisation, Australia), and BOM (Bureau of Meteorology, Australia)" ;? ? ? ? ? ? ? ? :institute_id = "CSIRO-BOM" ;? ? ? ? ? ? ? ? :experiment_id = "historical" ;? ? ? ? ? ? ? ? :source = "ACCESS1-0 2011. Atmosphere: AGCM v1.0 (N96 grid-point, 1.875 degrees EW x approx 1.25 degree NS, 38 levels); ocean: NOAA/GFDL MOM4p1 (nominal 1.0 degree EW x 1.0 degrees NS, tripolar north of 65N, equatorial refinement to 1/3 degree from 10S to 10 N, cosine dependent NS south of 25S, 50 levels); sea ice: CICE4.1 (nominal 1.0 degree EW x 1.0 degrees NS, tripolar north of 65N, equatorial refinement to 1/3 degree from 10S to 10 N, cosine dependent NS south of 25S); land: MOSES2 (1.875 degree EW x 1.25 degree NS, 4 levels" ;? ? ? ? ? ? ? ? :model_id = "ACCESS1-0" ;? ? ? ? ? ? ? ? :forcing = "GHG, Oz, SA, Sl, Vl, BC, OC, (GHG = CO2, N2O, CH4, CFC11, CFC12, CFC113, HCFC22, HFC125, HFC134a!
>  )" ;? ? ? ? ? ? ? ? :parent_experiment_id = "piControl" ;? ? ? ? ? ? ? ? :parent_experiment_rip = "r1i1p1" ;? ? ? ? ? ? ? ? :branch_time = 109207. ;? ? ? ? ? ? ? ? :contact = "The ACCESS wiki: http://wiki.csiro.au/confluence/display/ACCESS/Home. Contact Tony.Hirst at csiro.au regarding the ACCESS coupled climate model. Contact Peter.Uhe at csiro.au regarding ACCESS coupled climate model CMIP5 datasets." ;? ? ? ? ? ? ? ? :history = "CMIP5 compliant file produced from raw ACCESS model output using the ACCESS Post-Processor and CMOR2. 2012-01-17T03:16:49Z CMOR rewrote data to comply with CF standards and CMIP5 requirements." ;? ? ? ? ? ? ? ? :references = "See http://wiki.csiro.au/confluence/display/ACCESS/ACCESS+Publications" ;? ? ? ? ? ? ? ? :initialization_method = 1 ;? ? ? ? ? ? ? ? :physics_version = 1 ;? ? ? ? ? ? ? ? :tracking_id = "cc07b4bf-f3dc-483a-8407-d1a34397d273" ;? ? ? ? ? ? ? ? :version_number = "v20120115" ;? ? ? ? ? ? ? ? :product = "output" ;? ? ? ? ? ? ? ? :exper!
>  iment = "historical" ;? ? ? ? ? ? ? ? :frequency = "mon" ;? ? ? ? ? ?
> ? ? :creation_date = "2012-01-17T03:16:49Z" ;? ? ? ? ? ? ? ? :Conventions = "CF-1.4" ;? ? ? ? ? ? ? ? :project_id = "CMIP5" ;? ? ? ? ? ? ? ? :table_id = "Table OImon (27 April 2011) f04ba250f3acd5b9e847c21d5752eb85" ;? ? ? ? ? ? ? ? :title = "ACCESS1-0 model output prepared for CMIP5 historical" ;? ? ? ? ? ? ? ? :parent_experiment = "pre-industrial control" ;? ? ? ? ? ? ? ? :modeling_realm = "seaIce ocean" ;? ? ? ? ? ? ? ? :realization = 1 ;? ? ? ? ? ? ? ? :cmor_version = "2.8.0" ;
>
> Thank you in Advance
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170223/cf1875b4/attachment.html
>
> ------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> End of gradsusr Digest, Vol 84, Issue 36
> ****************************************




More information about the gradsusr mailing list