Kelton Halbert
EF1
EDIT: DOWNLOAD LINK BELOW
Greetings everyone! Let me start by introducing myself, I am new here at StormTrack.
My name is Kelton Halbert, and I am a high school student that lives in Nashville, Tennessee. I've been chasing storms for about two years, and this year was my first trip out to the Great Plains. Unfortunately that trip was the May 11th bust. Oh well, it leaves me with more to look forward to...
But enough about me. This thread is about GEMPAK Scripting.
I stumbled upon GEMPAK earlier this year, and realized what a great tool it was. I also realized the issue with pulling data. Further research (including some threads in here) led me to realize that I was going to have to write my own scripts to do the job.
I'm writing this thread because I want to know - would ANYONE be interested in having these scripts? I'm all about open source (free stuff!), and the code is original. Right now it is written in UNIX (I'm running GEMPAK on my Mac) but converting it to LINUX won't be a problem at all. Also, these scripts are in bash, not csh.
So, is anyone interested?
Right now I have a script that I've tried to make as easy to customize as possible for polling model data. Right now, it is set up to download the hourly RUC2 data from the NOMADS NCEP HTTP server, but with a little configuration, it can work with the NCEP FTP and NWS FTP servers, and any model data of choice. Within the script are the commands to decode the .grib2 files (assuming you already have GEMPAK installed) and remove the .grib2 files after they have been decoded. Lastly, it is set up to delete the previous model run (configurable in units of hours). There is a similar script that does the same thing for satellite imagery. Doing it this way, however, requires some small editing to your datatype.tbl file for NMAP2 to recognize the data.
This and several other scripts I have written are meant to run from crontab at set intervals. Unfortunately, timing is everything, so it may take several tries before the script is configured correctly. However, I am willing to help configure and troubleshoot when I have time available.
I understand that you can buy GEMPAK scripts, and in no way is this meant to be competition. The fact is, the paid scripts are probably cleaner, more efficient, and do more. However, I figured if I have already done this much work, I should at least share it in the event someone else needs it.
I'll be finishing up some last minute touches and cleaning up some of the code over the next few days. If there is interest, I'll have a download URL up and a short tutorial on how to get started.
If anyone would like a sample, this is the end result.
http://tempestchasing.com/models/ruc/
EDIT: DOWNLOAD LINK
http://tempestchasing.com/gempak/
Greetings everyone! Let me start by introducing myself, I am new here at StormTrack.
My name is Kelton Halbert, and I am a high school student that lives in Nashville, Tennessee. I've been chasing storms for about two years, and this year was my first trip out to the Great Plains. Unfortunately that trip was the May 11th bust. Oh well, it leaves me with more to look forward to...
But enough about me. This thread is about GEMPAK Scripting.
I stumbled upon GEMPAK earlier this year, and realized what a great tool it was. I also realized the issue with pulling data. Further research (including some threads in here) led me to realize that I was going to have to write my own scripts to do the job.
I'm writing this thread because I want to know - would ANYONE be interested in having these scripts? I'm all about open source (free stuff!), and the code is original. Right now it is written in UNIX (I'm running GEMPAK on my Mac) but converting it to LINUX won't be a problem at all. Also, these scripts are in bash, not csh.
So, is anyone interested?
Right now I have a script that I've tried to make as easy to customize as possible for polling model data. Right now, it is set up to download the hourly RUC2 data from the NOMADS NCEP HTTP server, but with a little configuration, it can work with the NCEP FTP and NWS FTP servers, and any model data of choice. Within the script are the commands to decode the .grib2 files (assuming you already have GEMPAK installed) and remove the .grib2 files after they have been decoded. Lastly, it is set up to delete the previous model run (configurable in units of hours). There is a similar script that does the same thing for satellite imagery. Doing it this way, however, requires some small editing to your datatype.tbl file for NMAP2 to recognize the data.
This and several other scripts I have written are meant to run from crontab at set intervals. Unfortunately, timing is everything, so it may take several tries before the script is configured correctly. However, I am willing to help configure and troubleshoot when I have time available.
I understand that you can buy GEMPAK scripts, and in no way is this meant to be competition. The fact is, the paid scripts are probably cleaner, more efficient, and do more. However, I figured if I have already done this much work, I should at least share it in the event someone else needs it.
I'll be finishing up some last minute touches and cleaning up some of the code over the next few days. If there is interest, I'll have a download URL up and a short tutorial on how to get started.
If anyone would like a sample, this is the end result.
http://tempestchasing.com/models/ruc/
EDIT: DOWNLOAD LINK
http://tempestchasing.com/gempak/
Last edited by a moderator: