Re: masking subregions in a country shapefile

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 30 2011 - 10:12:47 MST

Hi Kristina,

How large are the arrays on your shapefile? Would you be able to provide your script and data so I can take a look? See this URL for ftp information:

Also, what version of NCL are you running? NCL Version 6.0.0 was a major overhaul of the software that allows you to have larger dimension sizes (> 2GB) on 64-bit machines.
I'm kind of surprised that you'd be exceeding this limit on a shapefile, so that's why I'm interested in seeing it.



On Nov 30, 2011, at 9:43 AM, Kristina Fröhlich wrote:

> Hi all,
> does anybody know how to easily mask subregions using the info from a shape file?
> It is not simply Germany but Brandenburg, Saxony, etc, therefore I guess the FillAreaSpecifiers do not know about these regions.
> If I use gc_inout and loop over specified lat/lons NCL complains about the large dimensionsize of the lats from the shapefile and goes down.
> But I can see that the shapefile (DEU_adm1 from is providing the attribute "Features" which might be the subregions. I wonder If I could use the example shapefiles_6.ncl and extend it for a mask plot.
> But how to do this efficiently?
> Grateful for any comments, Kristina
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Nov 30 10:12:58 2011

This archive was generated by hypermail 2.1.8 : Wed Nov 30 2011 - 19:52:47 MST