[gradsusr] Making An Ensemble Spaghetti P

Charlie Phillips charliep127 at hotmail.com
Thu Mar 9 04:31:21 EST 2017


Ah, that was easy! Thank you.

________________________________
From: Davide Sacchetti <davide.sacchetti at arpal.gov.it>
Sent: Thursday, March 9, 2017 1:10:50 AM
To: Charlie Phillips; gradsusr at gradsusr.org
Subject: Re: [gradsusr] Making An Ensemble Spaghetti P

T and E are varying: grads makes a 2-d contour

if you want 21 time series do a loop:

ens=0;while(ens<21);ens=ens+1
 'set e 'ens
 'd ((tmpsfc-273.13)*9/5 +32)'
endwhile

(you should set vrange, otherwise y axis will change ...)

Bye
Davide

Il giorno gio, 09/03/2017 alle 08.57 +0000, Charlie Phillips ha
scritto:
> Hi all,
>
> I have a very simple question... I couldn't find an answer online.
> I'm trying to make a spaghetti plot with ensemble data (date on x-
> axis, temperature on y-axis), but when I specify the ensemble
> dimension, I instead get the various ensemble members on the y axis
> and a 2-d contour plot of temperature.
>
> here's my code:
>
> 'sdfopen  http://nomads.ncep.noaa.gov:9090/dods/gens/gens20170309/gep
> _all_00z'
> 'set lat 45.52'
> 'set lon 237.32'
> 'set e 1 21'
> 'set t 1 65'
> 'd ((tmpsfc-273.13)*9/5 +32)'
>
> Thank you for your help.
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170309/723a2326/attachment.html 


More information about the gradsusr mailing list