To use MADIS in Digital Atmosphere for now you can do the following:
1.) Download CURL from the offical CURL web site at http://curl.haxx.se/download.html
. You will
need to download the appropriate version for your system. The binary that most likely will work
for you is the static Win32 binary with SSL support. Do not just download libcurl but also the
A direct link is provided for the latest version here:
2.) Use the following command prompt script to download the latest MADIS file and save it to
your hard disk using curl:
Since CURL doesn't support the redirect that MADIS uses you must decode the MADIS string at the
end (after ?rdr=) and replace the proper user to the new MADIS account. You must also specify
that this is an insecure download.
Do NOT re-encode the URL.
To find a URL encoder/decoder on the Internet you can use the following site:
echo MADIS Download Script for Digital Atmosphere...
echo Now starting MADIS download with public access account...
curl -L --insecure "https://public_madis_public:0823p!nIaB@madis-
60&stanam=&stasel=0&pvdrsel=0&varsel=2&qcsel=1&xml=0" > madis.txt
echo Done downloading MADIS information...
3.) Now import the file into Digital Atmosphere. In the same directory create a script:
Make sure to replace PATH_TO_MADIS to the path of your downloaded madis.txt File from
To run open Digital Atmopshere and go to the Scripting tab and click "Run" and run the
"madis.dsf" file after proper modifications are made to the script.
This will take a while with the HUGE MADIS file!
4.) Now try a sample plot to make sure data has imported into the program from MADIS.
Now you are able to use MADIS data. Feel free to modify this in any way you see for your
application. The only requirement is that you need is CURL for Windows with the SSL libraries.