[ncl-talk] Fwd: contour plot misalignment
GMAIL
shejo284 at gmail.com
Thu Jan 26 09:48:30 MST 2017
Hi Mary,
I’m still working on this. I’ve not set the tfDoNDCOverlay and what I realised is that my model doesn’t have a square grid, i.e., the
spacing in the lat and lon directions are slightly different. I’m regridding instead to a square grid and then binning the MHS data to the square grid. If this fails I’ll plot the lat and lon values as you suggested and contact you again with more information for some help.
Appreciate the tip :-)
/M
On 26 Jan 2017, 06:18 +0100, Mary Haley <haley at ucar.edu>, wrote:
> Marston,
>
> There could be a few things going on here.
>
> One is simply that your lat/lon values are not quite correct.
>
> Are you setting tfDoNDCOverlay to True by any chance? If you are trying to use a native projection and you don't have the native projection parameters set exactly right, then the plot can be slightly misaligned.
>
> One thing I would suggest is plotting the observational lat/lon values as markers on your second plot to see if they are also misaligned with the coastlines. You should be able to use gsn_add_polymarker to plot the markers.
>
> Finally, as usual, if you can provide the data for the observational plot, and a script, then I can take a look.
>
> --Mary
>
>
> > On Wed, Jan 25, 2017 at 3:17 AM, Marston Johnston <marston.johnston at gu.se> wrote:
> > > Hi,
> > >
> > > I’ve binned (bin_sum) some MHS data to a model grid using rational lats and lons values (see linked fig).
> > > The upper panel in the figure is the model data but the bottom figure is from the observations. As you can see the
> > > coastlines are slightly off and I cannot figure out why. Does anyone have any idea why this is happening to the bin_sum figure?
> > > I’ve used the same set of lats and lons consistently throughout the process.
> > >
> > > Any hint/help is appreciated.
> > >
> > > /M
> > >
> > > Marston S. Johnston, PhD
> > > Department of Earth Sciences
> > > University of Gothenburg, Sweden
> > > Email: marston.johnston at gu.se
> > > SkypeID: marston.johnston
> > > Phone: +46-31-7864901
> > > Only the fruitful thing is true!
> > >
> > >
> > >
> > > _______________________________________________
> > > 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/20170126/20dd40b2/attachment.html
More information about the ncl-talk
mailing list