[Thread Prev][Thread Next][Index]

[ferret_users] Longitude and latitude of eddy amplitude as variables, how to convert them into axis of the variable amp



Hi all,

This is the first time I'm asking a question in ferret_users group, so please let me know if I could convey my question properly to all.

I have 365 daily files '20140101.nc', '20140102.nc',.....till '20141231.nc'. Each file contains 3 variables:
eddy_amplitude, longitude, and latitude.
Each of these variables have only 1 axis, i.e. J axis.
For example,

    currently SET data sets:
    1> ./20140101.nc  (default)
 name     title                             I         J         K         L
AMPLITUDE                           ...       1:3       ...       ...
LONGITUDE                           ...       1:3       ...       ...
LATITUDE                               ...       1:3       ...       ...

This means that, I have records of amplitudes, longitudes and latitudes of 3 eddies on that day, 01-jan-2014.
Number of eddies are not fixed daily.

I want to make a single annual netcdf file 'eddy.nc' like this:

              currently SET data sets:
    1> eddy.nc  (default)
 name     title                           I            J          K            L
 AMP                                    1:21      1:21      ...       1:365

yes? sh gr AMP
 GRID          MY_GRID
  name             axis           # pts                start                            end              subset
 XAXIX     LONGITUDE    21mr                79E                            99E                   full
 YAXIX     LATITUDE         21 r                  3N                            23N                   full
 normal              Z
 TAXIS            TIME          365 r   01-JAN-2014 12:00    31-DEC-2014 12:00   full



I am not getting any idea how to obtain this resultant file from my daily files.
Also, what to do when my given longitude and latitude coordinates are variables instead of axis.
In case you need ncdump of the given and resultant files, let me know. Please help me through this, as I am new to Ferret. Thanks in advance!

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

Privacy Policy | Disclaimer | Accessibility Statement