[Thread Prev][Thread Next][Index]

[ferret_users] ferret failure to plot Netcdf file (precision problem ?)



Hello Ferret users,

Ferret failed to plot my NetCdf file as follows :

$ferret
       NOAA/PMEL TMAP
       FERRET v6
       Linux(g77) 2.4.21-32 - 08/23/06
       29-Nov-07 14:14

yes? set memory/size=128
Cached data cleared from memory
yes? use TsurfAv17jL2pnv_20070917_103456_0079_-060_-044_0135.nc
*** NOTE: Coordinates out of order or missing on axis Longitude at subscript 1126
*** NOTE: A dummy axis of subscripts will be used
yes? show data
    currently SET data sets:
   1> ./TsurfAv17jL2pnv_20070917_103456_0079_-060_-044_0135.nc  (default)
name     title                             I         J         K         L
LONGITUDE
         Longitudes                       1:4500    ...       ...       ...
      (invalid coordinate axis)
TEMPERATURE_DE_SURFACE_DE_LA_MER
         sea surface temperature          ...       1:3500    1:4500    ...

yes? shade TEMPERATURE_DE_SURFACE_DE_LA_MER
yes? quit

The result is : Ferret outputs a 2-D plot, but with x = Latitude, and y = a number between 1 and 4500 (expected : a 2-D plot with x = Longitude, and y = Latitude !)

Hereafter is the ncdump of my file : I just show you a subset of the LONGITUDE variable, between subscripts 1116 and 1129. It seems that Ferret does'nt interpret correctly subscript 1126 (Longitudes(1126) = 9.20000000022014e-05)

netcdf TsurfAv17jL2pnv_20070917_103456_0079_-060_-044_0135.cfs {
dimensions:
   Latitude = 3500 ;
   Longitude = 4500 ;
   double Latitude(Latitude) ;
       Latitude:_FillValue = 1.84467440737096e+19 ;
       Latitude:long_name = "Latitudes" ;
       Latitude:units = "degrees_north" ;
       Latitude:standard_name = "latitude" ;
   double Longitude(Longitude) ;
       Longitude:_FillValue = 1.84467440737096e+19 ;
       Longitude:long_name = "Longitudes" ;
       Longitude:units = "degrees_east" ;
       Longitude:standard_name = "longitude" ;
   short Temperature_de_surface_de_la_mer(Longitude, Latitude) ;
       Temperature_de_surface_de_la_mer:_FillValue = 32767s ;
Temperature_de_surface_de_la_mer:long_name = "sea surface temperature" ;
       Temperature_de_surface_de_la_mer:units = "degC" ;
       Temperature_de_surface_de_la_mer:scale_factor = 0.01 ;
       Temperature_de_surface_de_la_mer:add_offset = 0. ;
Temperature_de_surface_de_la_mer:standard_name = "sea_surface_temperature" ;
       Temperature_de_surface_de_la_mer:valid_min = -162s ;
       Temperature_de_surface_de_la_mer:valid_max = 2793s ;

Longitude(1116:1129) = 359.600092, 359.640092, 359.680092, 359.720092, 359.760092, 359.800092,
359.840092, 359.880092, 359.920092, 359.960092, 9.20000000022014e-05,
0.0400920000000022, 0.0800920000000022, 0.120092000000002


Is it a known unavoidable Ferret bug, or is there a means to avoid it, maybe by telling to Ferret something more on the input data precision (double ?)

Thank you for your help,

Jacques



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JACQUES STUM ~~ E-mail : jstum@xxxxxx
Collecte Localisation Satellite,
8-10 rue Hermès,                                 	     ~~	  Phone   :  33 5 61 39 48 12
Parc Technologique du Canal,
31526 Ramonville Saint-Agne, France	     ~~    	  Fax	 :  33 5 61 39 37 82
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement