[gradsusr] GrADS - Udunits - Osx Problem!!

Noele noele.leonardo at gmail.com
Thu Dec 10 14:16:32 EST 2015


Hello


MacBook-Air-de-Noele:Dados_OAFlux NoeleLeonardo$ ncdump -c qnet_oaflux.nc 
netcdf qnet_oaflux {
dimensions:
	lon = 360 ;
	lat = 180 ;
	time = UNLIMITED ; // (330 currently)
variables:
	float lon(lon) ;
		lon:standard_name = "longitude" ;
		lon:long_name = "longitude" ;
		lon:units = "degrees" ;
		lon:axis = "X" ;
	float lat(lat) ;
		lat:standard_name = "latitude" ;
		lat:long_name = "latitude" ;
		lat:units = "degrees" ;
		lat:axis = "Y" ;
	double time(time) ;
		time:standard_name = "time" ;
		time:units = "month as %Y%m.%f" ;
		time:calendar = "proleptic_gregorian" ;
		time:axis = "T" ;
	short qnet(time, lat, lon) ;
		qnet:units = "W/m^2" ;
		qnet:add_offset = 0. ;
		qnet:scale_factor = 0.1 ;
		qnet:_FillValue = 32766s ;
		qnet:missing_value = 32766s ;
		qnet:comments = "monthly mean net surface heat flux, positive downward" ;

// global attributes:
		:CDI = "Climate Data Interface version 1.7.0 (http://mpimet.mpg.de/cdi)" ;
		:Conventions = "CF-1.4" ;
		:history = "Tue Dec 08 14:28:47 2015: cdo -f nc copy qnet_1983.nc qnet_1984.nc qnet_1985.nc qnet_1986.nc qnet_1987.nc qnet_1988.nc qnet_1989.nc qnet_1990.nc qnet_1991.nc qnet_1992.nc qnet_1993.nc qnet_1994.nc qnet_1995.nc qnet_1996.nc qnet_1996.nc qnet_1997.nc qnet_1998.nc qnet_1999.nc qnet_2000.nc qnet_2001.nc qnet_2002.nc qnet_2003.nc qnet_2004.nc qnet_2005.nc qnet_2006.nc qnet_2007.nc qnet_2008.nc qnet_2009.nc qnet_oaflux.nc" ;
		:creation_date = "Dec 2007" ;
		:description = "WHOI Objectively Analyzed air-sea Fluxes (OAFlux) Project" ;
		:project_PIs = "Lisan Yu, Bob Weller" ;
		:website = "http://oaflux.whoi.edu" ;
		:CDO = "Climate Data Operators version 1.7.0 (http://mpimet.mpg.de/cdo)" ;
data:

 lon = 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 
    13.5, 14.5, 15.5, 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5, 24.5, 
    25.5, 26.5, 27.5, 28.5, 29.5, 30.5, 31.5, 32.5, 33.5, 34.5, 35.5, 36.5, 
    37.5, 38.5, 39.5, 40.5, 41.5, 42.5, 43.5, 44.5, 45.5, 46.5, 47.5, 48.5, 
    49.5, 50.5, 51.5, 52.5, 53.5, 54.5, 55.5, 56.5, 57.5, 58.5, 59.5, 60.5, 
    61.5, 62.5, 63.5, 64.5, 65.5, 66.5, 67.5, 68.5, 69.5, 70.5, 71.5, 72.5, 
    73.5, 74.5, 75.5, 76.5, 77.5, 78.5, 79.5, 80.5, 81.5, 82.5, 83.5, 84.5, 
    85.5, 86.5, 87.5, 88.5, 89.5, 90.5, 91.5, 92.5, 93.5, 94.5, 95.5, 96.5, 
    97.5, 98.5, 99.5, 100.5, 101.5, 102.5, 103.5, 104.5, 105.5, 106.5, 107.5, 
    108.5, 109.5, 110.5, 111.5, 112.5, 113.5, 114.5, 115.5, 116.5, 117.5, 
    118.5, 119.5, 120.5, 121.5, 122.5, 123.5, 124.5, 125.5, 126.5, 127.5, 
    128.5, 129.5, 130.5, 131.5, 132.5, 133.5, 134.5, 135.5, 136.5, 137.5, 
    138.5, 139.5, 140.5, 141.5, 142.5, 143.5, 144.5, 145.5, 146.5, 147.5, 
    148.5, 149.5, 150.5, 151.5, 152.5, 153.5, 154.5, 155.5, 156.5, 157.5, 
    158.5, 159.5, 160.5, 161.5, 162.5, 163.5, 164.5, 165.5, 166.5, 167.5, 
    168.5, 169.5, 170.5, 171.5, 172.5, 173.5, 174.5, 175.5, 176.5, 177.5, 
    178.5, 179.5, 180.5, 181.5, 182.5, 183.5, 184.5, 185.5, 186.5, 187.5, 
    188.5, 189.5, 190.5, 191.5, 192.5, 193.5, 194.5, 195.5, 196.5, 197.5, 
    198.5, 199.5, 200.5, 201.5, 202.5, 203.5, 204.5, 205.5, 206.5, 207.5, 
    208.5, 209.5, 210.5, 211.5, 212.5, 213.5, 214.5, 215.5, 216.5, 217.5, 
    218.5, 219.5, 220.5, 221.5, 222.5, 223.5, 224.5, 225.5, 226.5, 227.5, 
    228.5, 229.5, 230.5, 231.5, 232.5, 233.5, 234.5, 235.5, 236.5, 237.5, 
    238.5, 239.5, 240.5, 241.5, 242.5, 243.5, 244.5, 245.5, 246.5, 247.5, 
    248.5, 249.5, 250.5, 251.5, 252.5, 253.5, 254.5, 255.5, 256.5, 257.5, 
    258.5, 259.5, 260.5, 261.5, 262.5, 263.5, 264.5, 265.5, 266.5, 267.5, 
    268.5, 269.5, 270.5, 271.5, 272.5, 273.5, 274.5, 275.5, 276.5, 277.5, 
    278.5, 279.5, 280.5, 281.5, 282.5, 283.5, 284.5, 285.5, 286.5, 287.5, 
    288.5, 289.5, 290.5, 291.5, 292.5, 293.5, 294.5, 295.5, 296.5, 297.5, 
    298.5, 299.5, 300.5, 301.5, 302.5, 303.5, 304.5, 305.5, 306.5, 307.5, 
    308.5, 309.5, 310.5, 311.5, 312.5, 313.5, 314.5, 315.5, 316.5, 317.5, 
    318.5, 319.5, 320.5, 321.5, 322.5, 323.5, 324.5, 325.5, 326.5, 327.5, 
    328.5, 329.5, 330.5, 331.5, 332.5, 333.5, 334.5, 335.5, 336.5, 337.5, 
    338.5, 339.5, 340.5, 341.5, 342.5, 343.5, 344.5, 345.5, 346.5, 347.5, 
    348.5, 349.5, 350.5, 351.5, 352.5, 353.5, 354.5, 355.5, 356.5, 357.5, 
    358.5, 359.5 ;

 lat = -89.5, -88.5, -87.5, -86.5, -85.5, -84.5, -83.5, -82.5, -81.5, -80.5, 
    -79.5, -78.5, -77.5, -76.5, -75.5, -74.5, -73.5, -72.5, -71.5, -70.5, 
    -69.5, -68.5, -67.5, -66.5, -65.5, -64.5, -63.5, -62.5, -61.5, -60.5, 
    -59.5, -58.5, -57.5, -56.5, -55.5, -54.5, -53.5, -52.5, -51.5, -50.5, 
    -49.5, -48.5, -47.5, -46.5, -45.5, -44.5, -43.5, -42.5, -41.5, -40.5, 
    -39.5, -38.5, -37.5, -36.5, -35.5, -34.5, -33.5, -32.5, -31.5, -30.5, 
    -29.5, -28.5, -27.5, -26.5, -25.5, -24.5, -23.5, -22.5, -21.5, -20.5, 
    -19.5, -18.5, -17.5, -16.5, -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, 
    -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 
    2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 
    15.5, 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5, 24.5, 25.5, 26.5, 
    27.5, 28.5, 29.5, 30.5, 31.5, 32.5, 33.5, 34.5, 35.5, 36.5, 37.5, 38.5, 
    39.5, 40.5, 41.5, 42.5, 43.5, 44.5, 45.5, 46.5, 47.5, 48.5, 49.5, 50.5, 
    51.5, 52.5, 53.5, 54.5, 55.5, 56.5, 57.5, 58.5, 59.5, 60.5, 61.5, 62.5, 
    63.5, 64.5, 65.5, 66.5, 67.5, 68.5, 69.5, 70.5, 71.5, 72.5, 73.5, 74.5, 
    75.5, 76.5, 77.5, 78.5, 79.5, 80.5, 81.5, 82.5, 83.5, 84.5, 85.5, 86.5, 
    87.5, 88.5, 89.5 ;

 time = 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 
    8.5, 9.5, 10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 
    10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 
    11.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, 7.5, 8.5, 9.5, 10.5, 11.5, 
    12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 1.5, 
    2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 
    4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 
    6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 
    8.5, 9.5, 10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 
    10.5, 11.5, 12.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 
    11.5, 12.5 ;
}

Cordialmente,
Noele Franchi Leonardo
Oceanógrafa
Mestre em Meteorologia
Doutoranda em Meteorologia Aplicada (UFV) <>

 <>
+55 31 38991890 
+55 31 991571672
+55 11 950409011 <>



> Em 10 de dez de 2015, à(s) 17:08, Jennifer M Adams <jadams21 at gmu.edu> escreveu:
> 
> Yes. Try running it on your file: 
> > ncdump -c your-netcdf-filename
> 
> and post the output here. If it is very long, you can edit out stuff about the data variables.
> —Jennifer
> 
> On Dec 10, 2015, at 12:54 PM, Noele <noele.leonardo at gmail.com <mailto:noele.leonardo at gmail.com>> wrote:
> 
>> Hello 
>> 
>> Is this? 
>> 
>> ncdump [-c|-h] [-v ...] [[-b|-f] [c|f]] [-l len] [-n name] [-p n[,n]] [-k] [-x] [-s] [-t|-i] [-g ...] [-w] file
>>   [-c]             Coordinate variable data and header information
>>   [-h]             Header information only, no data
>>   [-v var1[,...]]  Data for variable(s) <var1>,... only
>>   [-b [c|f]]       Brief annotations for C or Fortran indices in data
>>   [-f [c|f]]       Full annotations for C or Fortran indices in data
>>   [-l len]         Line length maximum in data section (default 80)
>>   [-n name]        Name for netCDF (default derived from file name)
>>   [-p n[,n]]       Display floating-point values with less precision
>>   [-k]             Output kind of netCDF file
>>   [-s]             Output special (virtual) attributes
>>   [-t]             Output time data as date-time strings
>>   [-i]             Output time data as date-time strings with ISO-8601 'T' separator
>>   [-g grp1[,...]]  Data and metadata for group(s) <grp1>,... only
>>   [-w]             With client-side caching of variables for DAP URLs
>>   [-x]             Output XML (NcML) instead of CDL
>>   file             Name of netCDF file (or URL if DAP access enabled)
>> netcdf library version 4.3.3.1 of Dec  8 2015 23:54:13 $
>> 
>> 
>>>> Best Regards,
>>>> Noele Franchi Leonardo
>>>> Oceanographer
>>>> Master in Meteorology
>>>> PhD in Applied Meteorology <>
>>>> +55 11 950409011 <>
>>>> +55 31 991571672
>>>> noele.leonardo at gmail.com <mailto:noele.leonardo at gmail.com>
>> 
>> 
>> 
>>> Em 10 de dez de 2015, à(s) 15:45, Jennifer M Adams <jadams21 at gmu.edu <mailto:jadams21 at gmu.edu>> escreveu:
>>> 
>>> Can you share the output from 'ncdump -c’ that is relevant to the time axis?  —Jennifer
>>> 
>>> On Dec 10, 2015, at 9:45 AM, Noele Leonardo <noele.leonardo at gmail.com <mailto:noele.leonardo at gmail.com>> wrote:
>>> 
>>>> Hi Jennifer thanks for the reply 
>>>> I did what you said but now is showing this error
>>>> Do you know what could be the error? 
>>>> 
>>>> gadsdf: Error parsing time_units for SDF file.
>>>> 
>>>> Best Regards,
>>>> Noele Franchi Leonardo
>>>> Oceanographer
>>>> Master in Meteorology
>>>> PhD in Applied Meteorology <>
>>>> +55 11 950409011 <>
>>>> +55 31 991571672
>>>> noele.leonardo at gmail.com <mailto:noele.leonardo at gmail.com>
>>>> 
>>>> 
>>>> 2015-12-09 13:56 GMT-02:00 Jennifer M Adams <jadams21 at gmu.edu <mailto:jadams21 at gmu.edu>>:
>>>> Hi, Noele,
>>>> GrADS doesn’t suppor udunits2. You need to download ftp://cola.gmu.edu/grads/data2.tar.gz <ftp://cola.gmu.edu/grads/data2.tar.gz> 
>>>> and put the contents of that tar file in a directory that is either /usr/local/lib/grads/ or some other directory of your choosing. If you put it someplace of your choosing, then set the environment variable GADDIR to point to that location. 
>>>> —Jennifer
>>>> 
>>>> 
>>>> On Dec 9, 2015, at 9:59 AM, Noele <noele.leonardo at gmail.com <mailto:noele.leonardo at gmail.com>> wrote:
>>>> 
>>>>> Hello GrADS users..
>>>>> 
>>>>> I am trying to open a netcdf file in GrADS, and gives me the following
>>>>> error:
>>>>> "Scanning self-describing file:  qnet_oaflux.nc <http://qnet_oaflux.nc/>
>>>>> udunits(3): Couldn't open units database "/usr/local/lib/grads/udunits.dat": No such file or directory
>>>>> gadsdf: UDUNITS package initialization failure.”
>>>>> 
>>>>> I have a macbook air with udunits version 2 installed
>>>>> 
>>>>> Someone please help me?! 
>>>>> 
>>>>> Thanks 
>>>>> 
>>>>> Best Regards,
>>>>> Noele Franchi Leonardo
>>>>> Oceanography
>>>>> Master in Meteorology
>>>>> PhD Student in Applied Meteorology <>
>>>>> +55 11 950409011 <>
>>>>> +55 31 991571672 <tel:%2B55%2031%20991571672>
>>>>> noele.leonardo at gmail.com <mailto:noele.leonardo at gmail.com>
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> gradsusr mailing list
>>>>> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>>> http://gradsusr.org/mailman/listinfo/gradsusr <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 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>> http://gradsusr.org/mailman/listinfo/gradsusr <http://gradsusr.org/mailman/listinfo/gradsusr>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>> http://gradsusr.org/mailman/listinfo/gradsusr <http://gradsusr.org/mailman/listinfo/gradsusr>
>>> 
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>> http://gradsusr.org/mailman/listinfo/gradsusr <http://gradsusr.org/mailman/listinfo/gradsusr>
>> 
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151210/dcbdb4b5/attachment-0001.html 


More information about the gradsusr mailing list