[Thread Prev][Thread Next][Index]

Re: [ferret_users] time axis attribute "Time" not valid ?



Hi Paulo,
Yes, the "axis" attribute is expected to take a single-letter as its value: X, Y, Z, or T. However Ferret should issue a warning, not this error message. Here's the text about the axis attribute for a time axis from the conventions:

http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#idp5333920

Also see the discussion of "coordinate types"
http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#coordinate-types

We'll fix Ferret so that it will just issue a "Note" in this instance.

Ansley


On 2/11/2013 5:13 AM, Paulo B. Oliveira wrote:
Hi,

I realized that the reason I'm not able to access the NEMO model results
using the thredds server is the "axis" attribute of variable "time".

I found that by downloading the data using ncks and changing the "Time"
attribute to "T" using ncatted. (see LOG below)

It would be much better not having to download the data, so I wonder if
there is a way to tell ferret to accept the "Time" attribute.

Regards,

Paulo

=====================================================================
[pbo@oo tmp]$ ferret
  	NOAA/PMEL TMAP
  	FERRET v6.84
  	Linux 2.6.32-279.14.1.el6.x86_64 32-bit - 12/18/12
  	11-Feb-13 12:56

yes? use
"http://puertos.cesga.es:8080/thredds/dodsC/dataset-ibi-analysis-forecast-phys-005-001-daily";
  *** NOTE:
At line 174 of file nc_get_attrib.F
Fortran runtime error: End of record
------------------------------------------------------------------------


[pbo@oo tmp]$ ncks -d time,682,682 -d depth,0,0 -d longitude,252,504 -d
latitude,324,648 -v temperature
"http://puertos.cesga.es:8080/thredds/dodsC/dataset-ibi-analysis-forecast-phys-005-001-daily"; WIb_sst682.cdf
--------------------------------------------------------------------------------
[pbo@oo tmp]$ ferret
...
yes? use WIb_sst682.cdf
  *** NOTE:
At line 174 of file nc_get_attrib.F
Fortran runtime error: End of record
--------------------------------------------------------------------------------
[pbo@oo tmp]$ ncdump -h WIb_sst682.cdf | grep axis
		depth:axis = "Z" ;
		latitude:axis = "Y" ;
		longitude:axis = "X" ;
		time:axis = "Time" ;
--------------------------------------------------------------------------------
[pbo@oo tmp]$ ncatted -a axis,time,o,c,T  WIb_sst682.cdf
[pbo@oo tmp]$ ferret
...
yes? use WIb_sst682.cdf
yes? sh da
      currently SET data sets:
     1> ./WIb_sst682.cdf  (default)
  name     title                             I         J         K
L         M         N
  TEMPERATURE
           Temperature                      1:253     1:325     1:1
1:1       ...       ...
yes? sh gr temperature
     GRID GPS1
  name       axis              # pts   start                end
  LONGITUDE LONGITUDE          253mr   12W(-12)             5W(-4.9996)
  LATITUDE  LATITUDE           325 r   35N                  44.001N
  DEPTH     DEPTH (m)            1 r-  0.49403              0.49403
  TIME      TIME                 1 r   10-FEB-2013 00:00    10-FEB-2013
00:00
  normal    E
  normal    F
yes? shade temperature          !!!!!=== it works just fine!!!!
yes? quit





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

Privacy Policy | Disclaimer | Accessibility Statement