[Thread Prev][Thread Next][Index]

Re: [ferret_users] Possible bug in Ferret 6.7 vs 6.64



On Thu Feb 09, 2012, at 1:00 AM, Hein Zelle wrote:

> Dear Gary Strand,
>> 
>> I'm getting an error from Ferret 6.7 that doesn't occur when using
>> Ferret 6.64. This is a straightforward netCDF file that happens to
>> have a field defined on a curvilinear grid that meets CMIP5
>> requirements.
> 
> Have you tried ferret 6.7.2?  There were relevant changes in 6.7,
> 6.7.1: improvements in recognizing axes names and dealing with
> dimensions.  These changes initially broke some things for us with
> specific variables in WRF curvilinear files, very similar to what
> you're seeing.  Since ferret 6.7.2, this works "as expected" for us,
> again.

I tested 6.72 and got the same result as with 6.7; still wrong compared to 6.64.

> Could you post an ncdump -h of your file?  I'd like to see the
> attributes of the LEV dimension / variable.

See attached 'ncdump -c':

netcdf thkcello_fx_CCSM4_lgm_r0i0p0 {
dimensions:
	lev = 60 ;
	j = 384 ;
	i = 320 ;
	bnds = 2 ;
	vertices = 4 ;
variables:
	double lev(lev) ;
		lev:bounds = "lev_bnds" ;
		lev:units = "m" ;
		lev:axis = "Z" ;
		lev:positive = "down" ;
		lev:long_name = "ocean depth coordinate" ;
		lev:standard_name = "depth" ;
	double lev_bnds(lev, 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 thkcello(lev, j, i) ;
		thkcello:standard_name = "cell_thickness" ;
		thkcello:long_name = "Ocean Model Cell Thickness" ;
		thkcello:units = "m" ;
		thkcello:original_name = "dz" ;
		thkcello:comment = "dz at each gridcell" ;
		thkcello:original_units = "centimeters" ;
		thkcello:history = "2012-02-08T15:31:08Z altered by CMOR: Converted units from \'centimeters\' to \'m\'. 2012-02-08T15:31:08Z altered by CMOR: replaced missing value flag (9.96921e+36) with standard missing value (1e+20)." ;
		thkcello:cell_methods = "time: mean" ;
		thkcello:cell_measures = "area: areacello volume: volcello" ;
		thkcello:missing_value = 1.e+20f ;
		thkcello:_FillValue = 1.e+20f ;
		thkcello:associated_files = "baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_ocean_fx_CCSM4_lgm_r0i0p0.nc areacello: areacello_fx_CCSM4_lgm_r0i0p0.nc volcello: volcello_fx_CCSM4_lgm_r0i0p0.nc" ;
		thkcello:coordinates = "lat lon" ;

// global attributes:
		:institution = "NCAR (National Center for Atmospheric Research) Boulder, CO, USA" ;
		:institute_id = "NCAR" ;
		:experiment_id = "lgm" ;
		:source = "CCSM4" ;
		:model_id = "CCSM4" ;
		:forcing = "N/A" ;
		:parent_experiment_id = "N/A" ;
		:parent_experiment_rip = "N/A" ;
		:branch_time = 0. ;
		:contact = "cesm_data@xxxxxxxx" ;
		:references = "Gent P. R., et.al. 2011: The Community Climate System Model version 4. J. Climate, doi: 10.1175/2011JCLI4083.1" ;
		:initialization_method = 0 ;
		:physics_version = 0 ;
		:tracking_id = "ed005d17-9873-488f-8905-0ec15255443a" ;
		:acknowledgements = "The CESM project is supported by the National Science Foundation and the Office of Science (BER) of the U.S. Department of Energy. NCAR is sponsored by the National Science Foundation. Computing resources were provided by the Climate Simulation Laboratory at the NCAR Computational and Information Systems Laboratory (CISL), sponsored by the National Science Foundation and other agencies.This research used resources of the National Energy Research Scientific Computing Center, which is supported by the Office" ;
		:cesm_casename = "not applicable" ;
		:cesm_repotag = "not applicable" ;
		:cesm_compset = "not applicable" ;
		:resolution = "f09_g16 (0.9x1.25_gx1v6)" ;
		:forcing_note = "Additional information on the external forcings used in this experiment can be found at http://www.cesm.ucar.edu/CMIP5/forcing_information"; ;
		:processed_by = "strandwg on mirage2 at 20120208  -083108.331" ;
		:processing_code_information = "Last Changed Rev: 529 Last Changed Date: 2012-02-08 08:29:51 -0700 (Wed, 08 Feb 2012) Repository UUID: d2181dbe-5796-6825-dc7f-cbd98591f93d" ;
		:product = "output" ;
		:experiment = "last glacial maximum" ;
		:frequency = "fx" ;
		:creation_date = "2012-02-08T15:31:08Z" ;
		:history = "2012-02-08T15:31:08Z CMOR rewrote data to comply with CF standards and CMIP5 requirements." ;
		:Conventions = "CF-1.4" ;
		:project_id = "CMIP5" ;
		:table_id = "Table fx (12 January 2012) 3b84a801563e38720652872982814a17" ;
		:title = "CCSM4 model output prepared for CMIP5 last glacial maximum" ;
		:parent_experiment = "N/A" ;
		:modeling_realm = "ocean" ;
		:realization = 0 ;
		:cmor_version = "2.8.1" ;
data:

 lev = 5, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 
    165.098388671875, 175.47900390625, 186.291305541992, 197.660293579102, 
    209.711395263672, 222.57829284668, 236.408798217773, 251.370193481445, 
    267.654205322266, 285.483673095703, 305.119201660156, 326.868011474609, 
    351.093505859375, 378.227600097656, 408.784606933594, 443.377685546875, 
    482.736694335938, 527.727966308594, 579.372863769531, 638.862609863281, 
    707.563293457031, 787.002502441406, 878.8251953125, 984.705932617188, 
    1106.20397949219, 1244.56701660156, 1400.49694824219, 1573.94592285156, 
    1764.0029296875, 1968.94396972656, 2186.45703125, 2413.97192382812, 
    2649.0009765625, 2889.38500976562, 3133.40502929688, 3379.79296875, 
    3627.669921875, 3876.45190429688, 4125.76806640625, 4375.3916015625, 
    4625.18994140625, 4875.0830078125, 5125.02783203125, 5375 ;

 j = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 
    21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 
    39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 
    57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 
    75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 
    93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 
    109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 
    123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 
    137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 
    151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 
    165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 
    179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 
    193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 
    207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 
    221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 
    235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 
    249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 
    263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 
    277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 
    291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 
    305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 
    319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 
    333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 
    347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 
    361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 
    375, 376, 377, 378, 379, 380, 381, 382, 383, 384 ;

 i = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 
    21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 
    39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 
    57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 
    75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 
    93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 
    109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 
    123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 
    137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 
    151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 
    165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 
    179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 
    193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 
    207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 
    221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 
    235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 
    249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 
    263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 
    277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 
    291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 
    305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 
    319, 320 ;
}

> 
> Kind regards,
>     Hein Zelle
> 
> 
>> 
>> Under Ferret 6.64:
>> 
>>        NOAA/PMEL TMAP
>>        FERRET v6.64  
>>        Linux(gfortran) 2.6.9-89.0.20.ELsmp - 09/16/10
>>         8-Feb-12 08:48     
>> 
>> yes? use thkcello_fx_CCSM4_lgm_r0i0p0.nc 
>> *** NOTE: Units on axis "j" are not recognized: 1
>> *** NOTE: They will not be convertible:
>> *** NOTE: Units on axis "i" are not recognized: 1
>> *** NOTE: They will not be convertible:
>> *** NOTE: If no missing_value or _FillValue attribute on variables, will use NaN
>> yes? show d
>>     currently SET data sets:
>>    1> ./thkcello_fx_CCSM4_lgm_r0i0p0.nc  (default)
>> name     title                             I         J         K         L
>> LAT      latitude coordinate              1:320     1:384     ...       ...
>> LON      longitude coordinate             1:320     1:384     ...       ...
>> LAT_VERTICES
>>                                           1:4       1:320     1:384     ...
>> LON_VERTICES
>>                                           1:4       1:320     1:384     ...
>> THKCELLO Ocean Model Cell Thickness       1:320     1:384     1:60      ...
>> 
>> Under Ferret 6.7:
>> 
>>        NOAA/PMEL TMAP
>>        FERRET v6.7  
>>        Linux(gfortran) 2.6.32-71.24.1.el6.x86_6 - 05/06/11
>>         8-Feb-12 08:50     
>> 
>> yes? use thkcello_fx_CCSM4_lgm_r0i0p0.nc 
>> *** NOTE: Units on axis "j" are not recognized: 1
>> *** NOTE: They will not be convertible:
>> *** NOTE: Units on axis "i" are not recognized: 1
>> *** NOTE: They will not be convertible:
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> *** NOTE: Axis LEV marked as UD
>> *** NOTE: but it has different directions in grids. Axes in grids may be inconsistent.
>> yes? show d
>>     currently SET data sets:
>>    1> ./thkcello_fx_CCSM4_lgm_r0i0p0.nc  (default)
>> name     title                             I         J         K         L
>> LAT      latitude coordinate              1:320     ...       1:384     ...
>> LON      longitude coordinate             1:320     ...       1:384     ...
>> LAT_VERTICES
>>                                           1:320     1:4       1:384     1:320
>> LON_VERTICES
>>                                           1:320     1:4       1:384     1:320
>> THKCELLO Ocean Model Cell Thickness       1:320     ...       1:384     1:60
>> 
>> Help!
>> 
>> The file is available via anonymous ftp at
>> 
>> ftp://ftp.cgd.ucar.edu/pub/strandwg/ferret/thkcello_fx_CCSM4_lgm_r0i0p0.nc
>> 
>> Gary Strand
>> strandwg@xxxxxxxx
>> 
>> 
>> 
>> 
> 
> 
> -- 
> 
> Dr. Hein Zelle
> Advisor Meteorology & Oceanography
> 
> Tel:    +31 (0)527-242299
> Fax:    +31 (0)527-242016
> Email:  hein.zelle@xxxxxxxxxxxxx
> Web:    www.bmtargoss.com
> 
> BMT ARGOSS
> P.O. Box 61, 8325 ZH Vollenhove
> Voorsterweg 28, 8316 PT Marknesse
> The Netherlands
> 
> ----Confidentiality Notice & Disclaimer---- 
> 
> Unless otherwise agreed by BMT ARGOSS BV in writing, all work,
> services, goods or products supplied by BMT ARGOSS BV shall be subject
> to and governed by BMT ARGOSS BV's own terms and conditions which are
> available for inspection from BMT ARGOSS BV on request.
> 
> The contents of this e-mail and any attachments are intended for the
> use of the mail addressee(s) shown. If you are not that person, you
> are not allowed to read it, to take any action based upon it or to
> copy it, forward, distribute or disclose the contents of it and you
> should please delete it from your system. BMT ARGOSS BV does not accept
> liability for any errors or omissions in the context of this e-mail or
> its attachments which arise as a result of internet transmission, nor
> accept liability for statements which are those of the author and
> clearly not made on behalf of BMT ARGOSS BV.

Gary Strand
strandwg@xxxxxxxx




[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement