[Thread Prev][Thread Next][Index]

[ferret_users] [Ferret_Users] SAMPLEIJ of an array of size [680,380]



Dear Ferret_Users:

It seems to me that SAMPLEIJ only subsamples the array that has the same number of
points in "i" and "j" direction. For example, my effort to use the following
script to subsample the array of size [680,380] failed, because it only subsampled
the point in the "I" direction. The new array "var_ij" has a size of [390,1]. I wonder
if anyone can help me with this case.

!FILE/VAR="ipts" ipts.dat (ipts=2,4,6,....,680)
!FILE/VAR="jpts" jpts.dat (jpts=2,4,6,....,380)
!use ocean_density.res.nc
!let var_ij=sampleij(RHO_TAUM1,ipts[d=1],jpts[d=2])

Thanks!

Zhen


--
This message has been scanned for viruses and dangerous
content by GMAO's MailScanner, and is believed to be clean.


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement