[ncl-talk] NCDC climate divisions with real data and analysis

Mary Haley haley at ucar.edu
Fri Oct 23 16:07:56 MDT 2015


Ashish,

See the attached "shapefile_mask_using_ts_Amon.ncl" script, which uses a
file you can download from:

http://www.ncl.ucar.edu/Applications/Data/

The shapefile was downloaded from NOAA.

http://www.esrl.noaa.gov/psd/data/usclimdivs/boundaries.html

The shaepfile_average_data.ncl script contains the procedure that draws the
colored polygons based on the climate divisions in the shapefile.  It says
it only works for rectilinear grids, but it should work for curvilinear
grids if you've attached the curvilinear lat/lon arrays as attributes
lat2d/lon2d (like you would for plotting)

I'm rushing a bit as I send these files, but I hope I got everything.  Try
it with:

ncl shapefile_mask_using_ts_Amon.ncl


--Mary



On Sun, Oct 18, 2015 at 2:51 PM, Dennis Shea <shea at ucar.edu> wrote:

> Also ... see
>
> http://www.ncl.ucar.edu/Applications/shapefiles.shtml
>
> Example 13
>
>
>
> On Sun, Oct 18, 2015 at 1:55 PM, Jim Means <jim at weatherextreme.com> wrote:
>
>> Hi Ashish,
>>
>> I'm not sure whether you have access to ArcGIS or something similar (I
>> think you can get a six month trial version with some introductory books),
>> but I found ArcGIS very useful for doing something like you're suggesting.
>> I had a lot of data at various points, but the tricky part was sorting the
>> data according to which climate division it fell into.  This was actually
>> quite easy in ArcGIS...well, after learning the basics of the software it
>> was easy.  Once you have the points sorted, then you can use NCL or Excel
>> or whatever you like for doing further analysis.
>>
>> Not exactly an NCL solution, but it might work for you.
>>
>> Jim
>>
>>
>>
>> On 10/18/2015 12:30 PM, Ashish Sharma wrote:
>>
>> Hello friends,
>>
>> I didn’t get any response last time. Any suggestion!!!
>>
>> I want to plot WRF/netcdf data on NCDC climate divisions (CD) and thereafter may be perform some statistical analysis for CDs.
>> NCL pages show that we can plot CDs and color code them.
>> May be what I am thinking is to divide the data in CDs and perform respective CD’s means, correlations within a CD. Is it doable using NCL?
>>
>> If yes, any suggestions would help!
>>
>> thanks,
>> Ashish
>>
>> _______________________________________________
>> ncl-talk mailing listncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>> --
>> <http://www.weatherextreme.com>
>>
>> * James D. Means, Ph.D.*
>> Atmospheric and Climate Scientist
>> <jim at weatherextreme.com>jim at weatherextreme.com| vcard
>> <http://www.weatherextreme.com/vcards/James%20MEANS.vcf>
>> 930 Tahoe Blvd., Suite 802-560
>> Incline Village, Nevada 89451
>> www.weatherextreme.com
>>
>> <https://www.facebook.com/wxextreme> <https://twitter.com/wxextreme>
>> <http://www.linkedin.com/company/weatherextreme>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebookicon.png
Type: image/png
Size: 3261 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.png
Type: image/png
Size: 3508 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twittericon.png
Type: image/png
Size: 3524 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0007.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signaturelogo.png
Type: image/png
Size: 8813 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0008.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefile_average_data.ncl
Type: application/octet-stream
Size: 7239 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefile_mask_using_ts_Amon.ncl
Type: application/octet-stream
Size: 4889 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefile_mask_data.ncl
Type: application/octet-stream
Size: 13478 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0005.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefiles_data.png
Type: image/png
Size: 425183 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151023/73a52446/attachment-0009.png 


More information about the ncl-talk mailing list