[ncl-talk] temperature spiral plot
Karin Meier-Fleischer
meier-fleischer at dkrz.de
Tue Jun 20 09:54:24 MDT 2017
Hi Sebastian and Adam,
there is no built-in function but I wrote a script which creates the
plots for a spiral animation of multi-year monthly mean temperature
change data. Have a look at our DKRZ NCL examples page. At the bottom of
the table is a small plot of the last time step and the script is also
provided:
https://www.dkrz.de/Nutzerportal-en/doku/vis/sw/ncl/ncl-examples
Bye,
Karin
Am 12.06.17 um 19:51 schrieb Adam Phillips:
> Hi Sebastian,
> At present NCL does not have a function that can create spiral
> graphics. I have created a ticket for this (NCL-2623) that asks for
> this functionality to be added, and included your feature requests.
> Unfortunately at best this will not be added to NCL until later this
> summer.
>
> Your idea to start with the radar_3 example coding to draw the radial
> lines is a good one. Numerous calls to gsn_add_polyline would then
> need to be added to draw the spirals. Interpolation between the months
> for changing colors/widths is possible but adds complexity.
>
> If you develop your own NCL function (complete or incomplete) please
> email it to me and I will add it to NCL-2623 so that the NCL developer
> in charge of implementing this new functionality could possibly use
> what you created.
> Adam
>
> On Mon, Jun 12, 2017 at 6:44 AM, Milinski, Sebastian
> <sebastian.milinski at mpimet.mpg.de
> <mailto:sebastian.milinski at mpimet.mpg.de>> wrote:
>
> Dear All,
>
> I would like to produce a plot in a similar style as the
> well-known temperature or sea ice spiral plots (e.g.
> http://www.climate-lab-book.ac.uk/spirals/
> <http://www.climate-lab-book.ac.uk/spirals/>).
>
> The angle should represent the month (1-12) and the distance from
> the centre some value.
> The data points for consecutive months should be connected by a line.
>
> Has someone tried this in NCL already? What would the best
> approach be?
>
> I would also like to modify the line a bit:
> - interpolate between data points rather than drawing a straight line
> - add a colour shading to the line (e.g. representing the time
> axis 01/1850, 02/1850, 03/1850, …). The colour should change
> gradually rather than jump to a new colour at each data point.
> - modify the width of the line. This should also be interpolated
> between data points to achieve a nice visual effect.
>
> My best guess at the moment would be to use the radar3.ncl example
> from this page: https://www.ncl.ucar.edu/Applications/radar.shtml
> <https://www.ncl.ucar.edu/Applications/radar.shtml>.
> I am confident that I could add data points and connect them with
> lines, but I am not sure whether the three modifications I am
> planning to do are possible when building my script on this example.
>
> I would be grateful if someone could point me in the right direction.
>
> Best regards,
> Sebastian
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>
>
>
>
> --
> Adam Phillips
> Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
> www.cgd.ucar.edu/staff/asphilli/
> <http://www.cgd.ucar.edu/staff/asphilli/> 303-497-1726
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
--
Dipl. Geophys. Karin Meier-Fleischer
Visualization, NCL, CDO
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany
Phone: +49 (0)40 460094 126
Fax: +49 (0)40 460094 270
E-Mail: meier-fleischer at dkrz.de
URL: www.dkrz.de
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170620/d031a254/attachment.html
More information about the ncl-talk
mailing list