Hi Brandon,
If all you want to do is tell NCL to mask out the ocean, one trick that
can be used is to have NCL fill the oceans as the last step.
Try setting these resources:
res@mpFillOn = True
res@mpFillColors = (/-1,0,-1,-1/) ; assuming 0 = white
res@mpFillDrawOrder = "PostDraw"
Setting mpFillDrawOrder ="Draw" might also work, depending on what else
you are drawing. Let ncl-talk know if this doesn't work or is not what
you are after... Adam
On 06/26/2012 08:28 AM, Brandon Capasso wrote:
> Greetings,
>
> Im looking for a way to overlay a land map projection on top of a sea
> contour plot, as to "cover up" any contoured data values that lie
> outside the land sea mask of the map file (the data file is very
> hi-res and has water points in wet-lands that the map projection will
> cover up, which is what i want). I am hoping to use this to
> cleanup/hide blotches and streaks of color outside the desired plot
> region.
>
> Simply masking out the sea points in the file will not do here,
> because of the high concentration of wetlands and very shallow water
> "sea" points in the dataset.
>
> I actually achieved what I am trying to accomplish using imagemagick,
> but this requires me to create/save a template mask for every possible
> grid zoom, and it would be much simpler to do it with ncl.
>
> Regards,
>
> Brandon
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ______________________________________________________________ Adam Phillips asphilli@ucar.edu NCAR/Climate and Global Dynamics Division (303) 497-1726 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jun 26 13:45:25 2012
This archive was generated by hypermail 2.1.8 : Fri Jun 29 2012 - 15:46:14 MDT