It would be a very straightforward matter to create an external function
to
perform this unpacking ("decompressing"). The existing function SAMPLEIJ
is
just the inverse -- it performs the "packing" of a 2D (IJ) array into
1D given
a list of (i,j) indices.
Details on writing external functions are at
http://ferret.wrc.noaa.gov/Ferret/External_Functions/ferret_EF.html
An analogous external function would be SCAT2GRIDGAUSS_XY, which also
takes 1D
arrays as input and returns a 2D array. The source code for SCAT2GRIDGAUSS_XY
(and SAMPLEIJ) can be found linked to the external functions page,
under "more
examples".
Note that you'll want to go through the instructions for getting started
writing external
functions first, and then use these for ideas in writing your own function.
Ansley Manke
Ed Maurer wrote:
Is there a method for easily viewing netCDF files created with compresison
by gathering?thanks,
Ed
____________________________________________________________________
Ed Maurer edm@hydro.washington.edu
--
Ansley Manke Pacific Marine Environmental Laboratory Seattle
WA (206)526-6246