[Thread Prev][Thread Next][Index]

Re: [ferret_users] changing dimension

Hi Sudheer,

|                         I would like to extract a subset of the 4
| dimensional data set to a 3 dimensional data with depth dimension
| not present in the sub set. For example I have ocean_atlas_subset.nc
| with all 4 dimensions defined in it, Now I want to have sst
| extracted from it with only X Y and T dimension and sub set should
| not have z dimension retained in it and I would like to save it as
| another NC file. Which is the easiest way to do this in ferret? I
| Tried the below method but when I do a show grid it has Z dimension
| in it.

  set data ocean_atlas_subset.nc
  save/file=sst.nc temp[k=1:1@max]

if you want to extract level k=1.  I admit this is an abuse of the
MAX transformation. . . .  Note that MAX is one of the
transformations that eliminate an axis.  A simple "temp[k=1]"
won't eliminate the z axis.


[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement