[ncl-talk] RGB triplets colormap --> Two different figures, same script.

Lara Quitián Hernández laraquitianhernandez at gmail.com
Fri Jun 1 03:43:58 MDT 2018


Hello,

I don't get any warning or error message...It's really weird.

Of course, I attach my script. Thank you very much.

Regards,
Lara

2018-06-01 11:29 GMT+02:00 Guido Cioni <guidocioni at gmail.com>:

> Lara, this is indeed pretty weird...
> Do you get any warning while running the script?
> Also, could you attach the script so that we can take a look?
>
> Thanks
>
> On 1. Jun 2018, at 11:19, Lara Quitián Hernández <
> laraquitianhernandez at gmail.com> wrote:
>
> Good morning,
>
> I'm trying to display a particular field using a combination of RGB
> triplets. I have already defined them:
>
> *colors = (/"(/1.00, 1.00, 1.00/)", "(/0.98,  0.99,  1.00/)", \*
> *"(/0.98,  0.99,  1.00/)", "(/0.96,  0.98,  0.99/)", \*
> *"(/0.95,  0.98,  0.99/)", "(/0.94,  0.98,  0.99/)", \*
> *"(/0.93,  0.97,  0.99/)", "(/0.92,  0.97,  0.99/)", \*
> *"(/0.91,  0.96,  0.99/)", "(/0.90,  0.96,  0.99/)", \*
> *"(/0.89,  0.96,  0.99/)", "(/0.88,  0.95,  0.99/)", \*
> *"(/0.87,  0.95,  0.98/)", "(/0.86,  0.94,  0.98/)", \*
> *"(/0.85,  0.94,  0.98/)", "(/0.84,  0.94,  0.98/)"/)*
>
>
> *gsn_define_colormap(wks,colors)*
>
> However, I obtain a figure without title, tickmarks, time stamp, labelbar
> information, etc.
>
> <850hPa_ETH_416_2014-10-19_18:00:00.png>
> The issue is that when I use a predefined colormap without changing any
> other variable in my script:
>
>
> *gsn_define_colormap(wks,"WhiteBlueGreenYellowRed")*
>
> I obtain a complete figure with all predefined settings. Both images are
> generated with the same script, only by modifying the colormap function.
> What's going on?
>
> <850hPa_ETH2_416_2014-10-19_18:00:00.png>
>
> Thanks in advance.
>
> Regards,
> Lara
>
> -
>
>
> *Lara Quitián Hernández, PhD Student*
> Departamento de Física de la Tierra, Astronomía y Astrofísica
> Facultad de Ciencias Físicas
> Ciudad Universitaria, Plaza Ciencias, 1
> <https://maps.google.com/?q=Ciudad+Universitaria,+Plaza+Ciencias,+1+28040+Madrid.+Spain&entry=gmail&source=g>
> 28040 Madrid. Spain
> <https://maps.google.com/?q=Ciudad+Universitaria,+Plaza+Ciencias,+1+28040+Madrid.+Spain&entry=gmail&source=g>
> Email: lquitian at ucm.es <mlunar at aemet.es>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> Guido Cioni
> http://guidocioni.altervista.org
>
>


-- 


*Lara Quitián Hernández, PhD Student*
Departamento de Física de la Tierra, Astronomía y Astrofísica
Facultad de Ciencias Físicas
Ciudad Universitaria, Plaza Ciencias, 1
28040 Madrid. Spain
Email: lquitian at ucm.es <mlunar at aemet.es>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180601/8764fdc3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ETH_lara.ncl
Type: application/octet-stream
Size: 9545 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180601/8764fdc3/attachment.obj>


More information about the ncl-talk mailing list