[Thread Prev][Thread Next][Index]

[ferret_users] sorting in 2D and saving to cdf



Dear Ferreters,

 

set list/file="precip_15.nc"/append

 

repeat/j=1:11:1 (repeat/i=1:20:1 (set region/i=`i`/j=`j` ;\

let index = sortl(precip20[l=1:11160]); let sorted_data = samplel(data[l=1:30], index);\

let r15=tsorted_precip20[l=15];\

list/file/format=cdf r15  ) )

 

Does anybody know what is wrong with it?  I try to order data in an ascending order on a lon_lat grid, find the 15th point and then save this 2D (lat-lon data, no timestep, no height) to a new file.

 

Thanks, Peter Szabo, ELTE


[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement