Hi Laurie, Well, not easily. Ferret is designed to work with variables on grids or parts of grids, and it's not set up to do things with data at individual index locations. If want to replace data based on their values then it's easy to define a new variable let sst2 = if sst LE 40 then sst ! to get rid of erroneous large values If you'd like to write back to the list with more about what you are trying to accomplish with this, we may have more ideas. Perhaps you could use the @SHF transformation to shift the values. -Ansley On 9/3/2010 2:46 AM, Laurie Menviel wrote:
Hi Using ferret I read a dataset, regrid it but before saving it I need to replace a few points manually. For example I need to set the sst value at grid point i=1,j=1 to the sst value at grid point i=2,j=1. like sst[i=1,j=1]=sst[i=2,j=1] sst[i=10,j=10]=sst[i=10,j=9] or sst[i=10,j=8]=1d-34 (undefined value) Is it possible to perform such an operation with ferret? Thank you Best wishes,Laurie