[Thread Prev][Thread Next][Index]

Re: [ferret_users] "trim" a dataset



Hi Ferret users,

|  Anybody know how to get the bounding latitude & longitude values to  
|  define this rectangle?

In case you want to automatically determine the bounding box:

  set data levitus_climatology
  let ytemp = y[gy=temp] + 0*temp   !! ytemp(x,y,z) = y
  let ymin = ytemp[z=@min, y=@min, x=@min]
  say `ymin`

In this way, you obtain the minimum latitude
where the variable temp is defined.  Then you define your region
as other people suggested.

Regards,
Ryo


[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement