4km NH Snow Cover script
Ice Age Mark
Global Mapper UserTrusted User
Hello,
I've been a serious amateur Meteorologist for forty years, and I use Global Mapper extensively to overlay all sorts of different stuff from Satellite and Radar imagery to Forecast Model and Upper Air maps to Sea Ice, Snow Cover, and Sea Surface Temperature. Many of these either are already geo-located, have projection files to use, or can be rectified within the same GM script that downloads them. Much of it is near-real-time, or else as good as it gets for a particular kind of data. In fact, almost any updating map or image that can be retrieved by FTP or URL can be "automated" to some extent using simple Global Mapper scripts. So, here's a very simple script that will download a 4km resolution daily Snow Cover overlay for the Northern Hemisphere that should work with any basemap you put under it.
I am using the GMTED2010 DEM, with GM's online World Imagery textured over it, in the attached image of my region on 11/18/12. When the user variable dialog pops up, just replace "DDD" in the filename with the DAY NUMBER OF THE YEAR (like 007, 086, or 365). [I keep that handy by having a desktop shortcut to here: http://www.soils.wisc.edu/cgi-bin/asig/doyCal.rb] If you fool around with the palette, you can also get the Sea Ice (Pal 3), land areas, and water areas by giving them other colors than the transparent color, black, but of course they are also only 4km resolution. I prefer a different Sea Ice source because it is vector data, and can be queried for area. If you have any questions or problems, just ask.
GLOBAL_MAPPER_SCRIPT VERSION="1.00" FILENAME="C:\....\Snow Cover .gmw"
DEFINE_PROJ PROJ_NAME="PS_WGS84"
Projection POLAR
Datum WGS84
Zunits NO
Units METERS
Xshift 0.000000
Yshift 0.000000
Parameters
-80 0 0.000 /* longitude_pole
60 0 0.000 /* latitude of true scale
0.000 /* false easting (meters)
0.000 /* false northing (meters)
END_DEFINE_PROJ
DEFINE_PALETTE PALETTE_NAME="LAYER_PALETTE"
0,0,0,""
0,0,0,""
0,0,0,""
0,0,0,""
255,255,255,""
END_DEFINE_PALETTE
DEFINE_VAR NAME="FILENAME" VALUE="ftp://sidads.colorado.edu/pub/DATASETS/NOAA/G02156/GIS/2012/ims2012DDD_4kmGIS.zip" \
PROMPT="YES" PROMPT_TEXT="ENTER DAY(DDD) OF YEAR FOR SNOW COVER"
IMPORT FILENAME="%FILENAME%" TYPE="AUTO" PROJ_NAME="PS_WGS84" LAYER_DESC="SNOW COVER"\ LOAD_FLAGS="0~0~0~0~0~1" SAMPLING_METHOD="NEAREST_NEIGHBOR" AUTO_CONTRAST="NO" CONTRAST_SHARED="NO" \ CONTRAST_MODE="NONE" CLIP_COLLAR="NONE" TEXTURE_MAP="YES" TRANSPARENT_COLOR="RGB(0,0,0)" \
PALETTE_NAME="LAYER_PALETTE"
I've been a serious amateur Meteorologist for forty years, and I use Global Mapper extensively to overlay all sorts of different stuff from Satellite and Radar imagery to Forecast Model and Upper Air maps to Sea Ice, Snow Cover, and Sea Surface Temperature. Many of these either are already geo-located, have projection files to use, or can be rectified within the same GM script that downloads them. Much of it is near-real-time, or else as good as it gets for a particular kind of data. In fact, almost any updating map or image that can be retrieved by FTP or URL can be "automated" to some extent using simple Global Mapper scripts. So, here's a very simple script that will download a 4km resolution daily Snow Cover overlay for the Northern Hemisphere that should work with any basemap you put under it.
I am using the GMTED2010 DEM, with GM's online World Imagery textured over it, in the attached image of my region on 11/18/12. When the user variable dialog pops up, just replace "DDD" in the filename with the DAY NUMBER OF THE YEAR (like 007, 086, or 365). [I keep that handy by having a desktop shortcut to here: http://www.soils.wisc.edu/cgi-bin/asig/doyCal.rb] If you fool around with the palette, you can also get the Sea Ice (Pal 3), land areas, and water areas by giving them other colors than the transparent color, black, but of course they are also only 4km resolution. I prefer a different Sea Ice source because it is vector data, and can be queried for area. If you have any questions or problems, just ask.
GLOBAL_MAPPER_SCRIPT VERSION="1.00" FILENAME="C:\....\Snow Cover .gmw"
DEFINE_PROJ PROJ_NAME="PS_WGS84"
Projection POLAR
Datum WGS84
Zunits NO
Units METERS
Xshift 0.000000
Yshift 0.000000
Parameters
-80 0 0.000 /* longitude_pole
60 0 0.000 /* latitude of true scale
0.000 /* false easting (meters)
0.000 /* false northing (meters)
END_DEFINE_PROJ
DEFINE_PALETTE PALETTE_NAME="LAYER_PALETTE"
0,0,0,""
0,0,0,""
0,0,0,""
0,0,0,""
255,255,255,""
END_DEFINE_PALETTE
DEFINE_VAR NAME="FILENAME" VALUE="ftp://sidads.colorado.edu/pub/DATASETS/NOAA/G02156/GIS/2012/ims2012DDD_4kmGIS.zip" \
PROMPT="YES" PROMPT_TEXT="ENTER DAY(DDD) OF YEAR FOR SNOW COVER"
IMPORT FILENAME="%FILENAME%" TYPE="AUTO" PROJ_NAME="PS_WGS84" LAYER_DESC="SNOW COVER"\ LOAD_FLAGS="0~0~0~0~0~1" SAMPLING_METHOD="NEAREST_NEIGHBOR" AUTO_CONTRAST="NO" CONTRAST_SHARED="NO" \ CONTRAST_MODE="NONE" CLIP_COLLAR="NONE" TEXTURE_MAP="YES" TRANSPARENT_COLOR="RGB(0,0,0)" \
PALETTE_NAME="LAYER_PALETTE"
Categories
- 13K All Categories
- 5.8K Features Discussion
- 351 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 423 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 183 Announcement and News
- 944 Bug Report
- 565 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 583 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 246 How I use Global Mapper
- 111 Global Mapper Forum Website
