Stratus RASP Tools
Useful DIY RASP Scripts
The RASP engine is a wonderful thing and the regular RASP processing creates forecast data that can be sliced or diced in many ways.
The RASP Table, Track and Blip Spot utilities provide ways to view the WRF data in differing ways, but there are also other tools that have been created you can use.
This page explains the utility that can allow you to use the raw RASP data for a location for a single day.
Get Default RASP Parameters for a Given Location (get_rasp_blipspot.cgi)
This script is responsible for collecting a set of parameters from the RASP core data set.
A clickable example is as follows:
It has the following input parameters:
You can use the defaults as provided in the BlipSpot creator (and in the example above, however there are some that can be amended to provide different output. Note that these are case sensitive so be careful that they are exactly as below in lower case.
Let's take a view at the parameters.
Today's region is actually a period of time, but can be defined as UK12 but it can be:
So if today is Monday, you can use UK12 or Monday, with the latter (Monday) the 4Km data for the current day. At the same time, Tuesday would be the 5KM data. Wednesday to Sunday would be 12Km data.
Grid is the RASP window period and is always d2. This should not be changed.
This should be left as the default of 0 (zero).
This is one half of the coordinate used for the entire region. This can be 0 (zero) to about 2000 and is the vertical coordinate. The root of the map is the NW of the area (NW Scotland in our case).
How do I calculate my "i" coordinate? The easiest way is to go to this page and select your LAT/LONG or turn point and click "Generate". This will create a link with the correct i/k parameters to put into the URL.
This is the other half of the coordinate used for the entire region. This can be 0 (zero) to about 2000 and is the horizontal coordinate.
This is used as a width map parameter and should be left as the default of 2000.
This is used as a height map parameter and should be left as the default of 2000.
This is not user-configurable and should be left to the default of 1.
The next parameter can be left empty to provide a default list of RASP parameters for the selected co-ordinate. But it can have one or more RASP parameters, with a space between each.
The default RASP parameters output are:
If you wish to have a single parameter (e.g. hwcrit) simply add this to the param field and only this will be searched for (which is faster). If you wish to use two or more (e.g. wstar and rain1), this would be "wstar rain1" as the param= on the full URL.
The other standard RASP metric parameters you can use are:
There are three formats you can use. XML, JSON and ASCII. You can add format=xml for XML, format=json for JSON or omit the format flag (or just empty) for an ASCII table that is human readable.