Dear Martin, Dear Lawal, Was also thinking along these lines…please feel free to use any option you want. yes? use levitus_climatology yes? sh d currently SET data sets: 1> /Users/kwesi/anaconda3/envs/ferret_notebook/share/fer_dsets/data/levitus_climatology.cdf (default) name title I J K L TEMP TEMPERATURE 1:360 1:180 1:20 ... SALT SALINITY 1:360 1:180 1:20 ... Dear Kamoru Abiodun,
the following shows, how it could work. You would need to adjust
the method to your file and variable names. First we produce a test file from levitus_climatology (I
do not have your file, levitus climatology is part of the ferret
distribution) yes? use levitus_climatology ! You see, there is a k-index. There is not time, but we want to
see the method only. Save one level into a new file. yes? save/k=1/clobber/file=test.nc temp yes? quit Start a new session ... >ferret yes? use test.nc !This is like your file, a k-index, but only one level.
Now define a new grid "xygrid", taking the axes from "temp", but
skip the k-axis. May be, there is a more elegant way, but is shows
the principle. yes? define grid/x=temp/y=temp xygrid ! define a dummy-variable and reshape "temp" to the shape of the
dummy variable, namely to a pur xy - grid. yes? let xy_dummy= 0*(x[gx=xygrid]+y[gy=xygrid]) Saving now to a new file produces a data set without the k-axis. Greetings, Martin Am 18.05.2020 um 18:15 schrieb 'Dr
Kamoru Abiodun Lawal' via _OAR PMEL Ferret Users:
------------
Try not to become a man of success but rather a man of value- Albert Einstein Kwesi A. Quagraine Department of Physics School of Physical Sciences College of Agriculture and Natural Sciences University of Cape Coast Cape Coast, Ghana Alt. Email: kwesi@xxxxxxxxxxxxxx Office: +27 21 650 1563 Skype: quagraine_cwasi |