[Thread Prev][Thread Next][Index]

Re: [ferret_users] "trim" a dataset



Hi Andy,

Doesn't this work?

save/file=aaa.nc/x=x0:x1/y=y0:y1 aaa   !for lon/lat or
save/file=aaa.nc/i=i0:i1/j=j0:j1 aaa   !for grid count

Cheers,
Tony

On Tue, 2010-02-02 at 17:01 -0500, Roman T wrote:
> Hi Andy,
> Have you tried 'set region' command? I believe this has worked for me
> in the past...
> Best,
> Roman
> 
> 
> On Tue, Feb 2, 2010 03:20 PM, Andy Jacobson <Andy.Jacobson@xxxxxxxx>
> wrote:
>         Howdy,
>         
>         I'm using a mask to cut out a contiguous region of data from a global  
>         dataset.  The result is a small blob of valid data sitting inside a  
>         vast global domain of missing data.  When I save the dataset, all the  
>         missing data are also written to disk, and I'd like to avoid that by  
>         defining the smallest rectangular region that contains my valid data.   
>         I'd then write out only that rectangle instead of the entire globe.   
>         Anybody know how to get the bounding latitude & longitude values to  
>         define this rectangle?
>         
>         Thanks,
>         
>         Andy
>         
>         -- 
>         Andy Jacobson
>         andy.jacobson@xxxxxxxx
>         
>         NOAA Earth System Research Lab
>         Global Monitoring Division
>         325 Broadway
>         Boulder, Colorado 80305
>         
>         303/497-4916
>         
>         
>         
>         
>         



[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement