Re: read shapefile in ncl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 08 2011 - 10:26:31 MST

Lei,

Thanks for providing the data files. Can you provide the script as well? It's hard to debug this based on a small thumbnail image.

One thing that comes to mind is if you have several regions in your shapefile, you need to be careful that you don't set your data values to missing because they only fall in one of the regions.

That is, once you find that a data point is inside one of your regions, make sure that this particular data value stays set, and that it doesn't get reset to missing just because it doesn't fall inside some other region.

--Mary

On Dec 8, 2011, at 9:38 AM, Lei Meng wrote:

> Hi,
> I was able to use a China shapefile to extract ERA40 soil moisture data for the whole country. But I found that extracted data within China contain missing data which should be valid data instead of missing value in ERA40. I attached screen shots of the extracted data and the original ERA40 data. I also attached the shapefiles I used to extract the data. Any suggestions? Thanks,
> Lei

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 8 10:26:42 2011

This archive was generated by hypermail 2.1.8 : Fri Dec 09 2011 - 13:09:09 MST