[ncl-talk] Issue to fill delimited area (using a shapefile) with a constant value

Thierno Doumbia elthiedo at gmail.com
Fri Jun 19 12:23:12 MDT 2020


Dear NCL community,

As indicated in the subject line of this mail, I have a problem to create a
gridded netcdf file containing constant values for different regions of the
globe, using world administrative boundaries shapefile as a mask.
My code seems to be working for one region. But when I try to loop through
multiple regions, the result is not what I expected. Please find attached
my code, the obtained plot and a sample of my data.

I would appreciate it if you would check to see what I have done wrong.

Sincerely,
-- 
Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200619/3909f17b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_sample_code_v0.ncl
Type: application/octet-stream
Size: 7525 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200619/3909f17b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trend_by_region_Senegal.csv
Type: text/csv
Size: 4226 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200619/3909f17b/attachment-0001.csv>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_sample_code_v0.ps
Type: application/postscript
Size: 383389 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200619/3909f17b/attachment-0001.ps>


More information about the ncl-talk mailing list