[Thread Prev][Thread Next][Index]

Re: [ferret_users] extract irregular grid values

Hi Ninin,
You can make computations on an irregular shaped region by defining a mask, as outlined in this FAQ.  It shows one method of defining the mask based on variable values, but all that's needed is some method of generating a field on the same grid which is 1 where you want to work with data and missing otherwise:


Another tool is the pt_in_poly function.  If what you have is a set of locations that defines the boundary, you could use that, and then define the mask from that.


On 5/5/2014 4:05 AM, Nitin Patil wrote:
Dear Hein,

I have a netcdf file (I cant share bz it is too big in size). We have selected region for our analysis over INDIA but our domain region is not in a proper square or rectangle shape it is in irregular shape. So i cant provide direct start and end points of latitude and longitude of the area. May be I have to indicate all grid points Lat Lon notations in the scripts to extract and save in txt format. Did you know how to specify it.

Nitin Patil

On Mon, May 5, 2014 at 12:54 PM, Hein Zelle <hein.zelle@xxxxxxxxxxxxx> wrote:
Hi Nitil,

> I want to extract irregular grid values from netcdf and to be saved in
> netcdf. Does anyone have idea, please let me know.

Could you provide a little more information?  It's not clear to me
what you mean.  What kind of "irregular grid values" do you want to
extract?  Do you have an example file?

Kind regards,
     Hein Zelle


Dr. Hein Zelle
Senior consultant meteorology & oceanography

Tel:        +31 (0)527-242299
Fax:        +31 (0)527-242016
E-mail:     hein.zelle@xxxxxxxxxxxxx
Website:    www.bmtargoss.com

Voorsterweg 28, 8316 PT Marknesse, the Netherlands
Postal address: P.O. Box 61, 8325 ZH Vollenhove, the Netherlands

Registered in The Netherlands, Registered no. 39060160.

Unless otherwise agreed by BMT ARGOSS in writing, all work,
services, goods or products supplied by BMT ARGOSS shall be subject
to and governed by BMT ARGOSS' own terms and conditions which are
available for inspection from BMT ARGOSS on request.

E-mail confidentiality notice and disclaimer:
The contents of this e-mail and any attachments are intended for the
use of the mail addressee(s) shown. If you are not that person, you
are not allowed to read it, to take any action based upon it or to
copy it, forward, distribute or disclose the contents of it and you
should please delete it from your system. BMT ARGOSS does not accept
liability for any errors or omissions in the context of this e-mail or
its attachments which arise as a result of internet transmission, nor
accept liability for statements which are those of the author and
clearly not made on behalf of BMT ARGOSS.

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement