[Thread Prev][Thread Next][Index]

[ferret_users] expand to curvilinear grid



Hi ferreters,

Is there a way to expand a 1D variable to a 2D variable using
its compressed indices saved as 1D ?

Here is an example
!=================================
use toexpand_01.nc

let a=SAMPLEIJ(lon2D,INDICE_I,INDICE_J)
let b=SAMPLEIJ(lat2D,INDICE_I,INDICE_J)
plot/vs a, b

def axis/y=41:52:0.1/units=degrees_north mylat
def axis/x=-6:10:0.1/units=degrees_east mylon
let v2D=SCAT2GRID_BIN_XY(a,b,v1D, x[gx=mylon], y[gy=mylat])

!=================================
Let me know if something can be done
to retrieve the uncompressed variable on its
original curvilinear grid.
Perhaps with the  EXPNDI_BY function
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/appendix-a-external-functions/expndi_by/,
but I have not figured out how to.

Files can be found from
http://dods.ipsl.jussieu.fr/brocksce/ferret_bugs/toexpand_01.jnl
http://dods.ipsl.jussieu.fr/brocksce/ferret_bugs/toexpand_01.nc

Best regards
Patrick

--
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre
--

Attachment: toexpand_01_fig_a.gif
Description: GIF image

Attachment: toexpand_01_fig_b.gif
Description: GIF image


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

Privacy Policy | Disclaimer | Accessibility Statement