[Thread Prev][Thread Next][Index]

[ferret_users] Re: [ferret users] Transform grid



Hi Yun,
Yesterday you got some ideas about how to reshape the grid of the variable SST to be able to plot it.  Another method would be to tell Ferret the order of the axes when you open the file. I think this is what you need

  yes? use/order=xyt HADISST_1_1_sst_2004.nc
  yes? show grid sst

If there are missing SST values this should not be a problem. What plot command are you using? What error message are you seeing? 

Yun.Li@xxxxxxxx wrote:

Hi Ansley,

 

I am using ferret/5.81.  I have another problem to using “Fill/L=7 SST” to make ferret plots because there are missing SSTs at some grids in the HADISST_1_1_SST_2004.nc.  Can you please let me know how to plot SST image when there are missing values on some grid.

 

The output of ncdump of  HADISST_1_1_SST_2004.nc are as follows.

 

 

sst> ncdump -h HADISST_1_1_SST_2004.nc

netcdf HADISST_1_1_SST_2004 {

dimensions:

        nr = UNLIMITED ; // (12 currently)

        in = 360 ;

        no = 180 ;

variables:

        double t(nr) ;

                tunics = "years" ;

                t:long_name = "Fake time" ;

                t:coordinate_type = "time" ;

        float lon(in) ;

                lon:units = "degrees_east" ;

                lon:long_name = "Longitude" ;

                lon:coordinate_type = "longitude" ;

        float lat(no) ;

                lat:units = "degrees_north" ;

                lat:long_name = "Latitude" ;

                lat:coordinate_type = "latitude" ;

        float sst(nr, no, in) ;

                sst:long_name = "SST" ;

                sst:units = "deg" ;

                sst:missing_value = -999.f ;

                sst:coordinates = "t, lat, lon" ;

 

// global attributes:

                :Conventions = "CMR/Timeseries" ;

}

 

Yun Li

 


From: Ansley Manke [mailto:Ansley.B.Manke@xxxxxxxx]
Sent: Tuesday, 27 February 2007 2:43 AM
To: Li, Yun (CMIS, Floreat)
Cc: oar.pmel.ferret_users@xxxxxxxx
Subject: Re: [ferret_users] Transform grid

 

Hi Yun Li,
If the name of the "Fake Time" axis is T, then Ferret should detect that axis as an axis in the T direction.  Could you tell me what version of Ferret are you using, and could you send me the output of the Unix ncdump command
 
   ncdump -h HADISST_1_1_SST_2004.nc

Ansley

Yun.Li@xxxxxxxx wrote:

Dear All,
 
I have a copy of monthly HADISST_1_1_SST_2004.nc as follows. 
 
yes? use HADISST_1_1_SST_2004.nc
yes? show data
     currently SET data sets:
    1> ./HADISST_1_1_SST_2004.nc  (default)
 name     title                             I         J         K
L
 T        Fake time                        1:12      ...       ...
...
 LON      Longitude                        1:360     ...       ...
...
 LAT      Latitude                         1:180     ...       ...
...
 SST      SST                              1:360     1:180     1:12
...
 
 
Ferret cannot draw the plots properly due to the incorrect grid settings
(K =1:12). Could you please help me to transform the grid as the correct
format (L=1:12)? That is,
 
  
show data
    
     currently SET data sets:
    1> ./HADISST_1_1_SST_2004.nc  (default)
 name     title                             I         J         K
L
 SST      SST                              1:360     1:180     ...
1:12
 
 
Regards,
 
Yun Li
CSIRO, Australia
 
  






[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement