Description

The Time Series Viewer shows the following (http://84.235.53.7/cgi-bin/model/ugui.ts?range=GWPME).

The time series graph displays METAR observations, WRF data assimilation analysis, and WRF forecasts with leading time at 6, 12, 18 and 24 hours for 2-meter high temperature, relative humidity and 10-meter high wind speed and wind direction at 29 METAR stations. The program extracts time series after a WRF cycle is completed and inquiries METAR data on the fly. Thus it requires internet network enabled. The source codes are written in python and sit in ~pmefdda/py4wrf/. The execution of the python program is scheduled in crontab under pmefdda:

45 0,12,18 * * * /home/pmefdda/py4wrf/tscomparison.py 3 6 2 >& /d2/pmefdda/cycles/GWPME/GRM/timesgraphs/timesg_d02.log
15 7 * * * /home/pmefdda/py4wrf/tscomparison.py 3 7 2 >& /d2/pmefdda/cycles/GWPME/GRM/timesgraphs/timesg_d02.log

The program takes three arguments:

first is for the length in days to be plotted (e.g. 3 -> three days);

second is the offset hours to the latest WRF cycle hours (eg. 7-> seven hours off f its schedule time 7.i.e. to process 00Z WRF cycle)

third is to indicate WRF domain (2-> domain 2). 

The graph legend describes the contents in the plots. The vertical solid line indicate the time the program is executed.

Messages from the program execution can be found in the log file: /d2/pmefdda/cycles/GWPME/GRM/timesgraphs/timesg_d02.log

Most common cause for this graph 'no show' is missing WRF cycles. 

The Meteogram Viewer shows the following (http://84.235.53.7/cgi-bin/model/ugui.ms?range=GWPME)

Meteogram displays hourly vertical profiles of temperature, relative humidity and wind along with near-surface temperature, relative humidity, wind, surface pressure and hourly precipitation (if rains) from WRF forecasts at 29 METAR stations. The program was written in python and sit in ~pmefdda/py4wrf/ and is executed through crontab under pmefdda:

35 0,12,18 * * * /home/pmefdda/py4wrf/meteograms14.py -f 6 -d 2 >& /d2/pmefdda/cycles/GWPME/GRM/meteograms/meteo14_d02.log
10 7 * * * /home/pmefdda/py4wrf/meteograms14.py -f 7 -d 2 >& /d2/pmefdda/cycles/GWPME/GRM/meteograms/meteo14_d02.log

As indicated, the program takes two arguments:

first: offset hours (from execution time to the wrf cycle time)

second: WRF domain (it works for domains 2 and 3).

Messages from program execution can be found in /d2/pmefdda/cycles/GWPME/GRM/meteograms/meteo14_d02.log. Similar to time series python program, this meteogram plotting program has to be executed after a wrf cycle is completed. Missing cycle could result in the meteogram 'no-show'.

The graph legend: color is for relative humidity, contour is for air temperature and wind is represented by 'barb' with the same scale as other WRF 2-D images. The red dash line indicates the frozen (zero) temperature

Scripts

These web links run a perl script wrapper around javascript that display images.  The perl script reads image directories in order to get current available cycles, and reads a javascript array to define available menu items.  The javascript passes values to an animation script to march through cycle times for a given image.

The web link for the Time Series Viewer runs the perl script /d2/www/cgi-bin/model/ugui.ts, which displays images in /d2/pmefdda/cycles/GWPME/GRM/timesgraphs/ as defined by /d2/www/htdocs/projects/GWPME/ts_file and passes values to /d2/www/htdocs/projects/anim.ts.html to animate the images in a movie loop.

The web link for the Meteogram Viewer runs the script /d2/www/cgi-bin/model/ugui.ms, which displays images in /d2/pmefdda/cycles/GWPME/GRM/meteograms/ as defined by /d2/www/htdocs/projects/GWPME/ms_file and passes values to /d2/www/htdocs/projects/anim.ts.html to animate the images in a movie loop.

The images for the Time Series are generated by user fdda running in cron /home/pmefdda/py4wrf/tscomparison.py

The images for the Meteograms are generated by user fdda running in cron /home/pmefdda/py4wrf/meteograms14.py

Images for both are removed after 10 days by user pmefdda running in cron /home/pmefdda/bin/archive_master.sh.  The config file /d1/pmefdda/GMODJOBS/GWPME/config/cycles_scrub.cfg controls how many days back to remove by the value 'default_age=10.  This config file controls scrubbing for the entire /d2/pmefdda/cycles/GWPME/GRM directory (including model cycles).

  • No labels