[ncl-talk] phase difference in plots

Alan Brammer abrammer at albany.edu
Wed Jan 3 07:14:52 MST 2018


anomexel=exel
anomel=el - meanClimatology
anomexla=exla-meanClimatology

These lines do not copy the metadata.  You should do a
copy_VarCoords(meanClimatology, anomel)  for each respective variable.

As such, you will have seen a warning about a lack of coordinates when
plotting. NCL will have tried to guess at the location data probably 0:360
but your data is likely -180:180 thus the resulting plot is 180° off.

Pay attention to any warnings that NCL produces, it's pretty easy to have
scripts run without any undesired print outs (don't just ignore them).

Also printVarSummary(anomel) will show a complete lack of any metadata.
Always a good starting point when something isn't quite right.

Good luck,

Alan


On Wed, Jan 3, 2018 at 4:32 AM, sjd.marjani via ncl-talk <ncl-talk at ucar.edu>
wrote:

> Hi and HAPPY new YEAR .
>
> my name is Sajede
>
> I Need your help
>
> I send you my script in Word Document
>
> in that ,i highlightet 2 parts
>
> => part1 is "YELLOW" which contains my problem
>
> =>part2 is "GREEN" which has no problem in ploting
>
> and also i send you the related plots in png format
>
> **************************************************
>
> my problem is why the PART.png has PHASE differences?
>
> Thank YOU in advance
>
> _______________________________________________
> 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/20180103/be053a90/attachment.html>


More information about the ncl-talk mailing list