[Thread Prev][Thread Next][Index]

Re: variable definition

Hi Will,
If you have one variable already on the axis you want, and a second variable with the same number of items, you can regrid the second variable to use the axis of the first, using the @ASN transformation, to "assign" the data to the desired grid. Say the new variable you have in the ASCII file has been read in onto a regular Z axis, and you've called it MY_PARM, and the variable from the model output is MODOUT. Then this will give you the parameters on the axis of the model data:


Ansley Manke

Will Lewis wrote:

Greetings Ferret Users,

I have what seems like a simple question, and despite the fact that it's
driving me nuts, I'm sure there are many of you who can provide a simple

I have data defined on an irregularly spaced z-axis (numerical model output),
and I need to define a variable also defined on this axis. This variable will
simply hold integer values of a certain parameter (i.e. it will be valued at 1
at 50 meters, 1 at 100 meters, 2 at 200 meters, etc). I tried putting the
parameter values into an ASCII file and reading them in, but when I do that I
get the values on a regularly spaced axis, which is unsatisfactory for
comparison purposes.

Any help / suggestions will be greatly appreciated!


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement