From 215c5ec5b89f032d4e19f9dea774dd2b544fbc84 Mon Sep 17 00:00:00 2001 From: Jack Poulson Date: Tue, 29 Jan 2019 16:37:10 -0600 Subject: [PATCH 1/5] Updating URLs for downloading NaturalEarth data. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4b0a406f0..083c53b86 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,10 @@ simplified, larger scale for animation and a more detailed, smaller scale for st [GDAL](http://www.gdal.org/) and TopoJSON (see [here](http://bost.ocks.org/mike/map/#installing-tools)), the following commands build these files: - curl "http://www.nacis.org/naturalearth/50m/physical/ne_50m_coastline.zip" -o ne_50m_coastline.zip - curl "http://www.nacis.org/naturalearth/50m/physical/ne_50m_lakes.zip" -o ne_50m_lakes.zip - curl "http://www.nacis.org/naturalearth/110m/physical/ne_110m_coastline.zip" -o ne_110m_coastline.zip - curl "http://www.nacis.org/naturalearth/110m/physical/ne_110m_lakes.zip" -o ne_110m_lakes.zip + curl "http://www.naciscdn.org/naturalearth/50m/physical/ne_50m_coastline.zip" -o ne_50m_coastline.zip + curl "http://www.naciscdn.org/naturalearth/50m/physical/ne_50m_lakes.zip" -o ne_50m_lakes.zip + curl "http://www.naciscdn.org/naturalearth/110m/physical/ne_110m_coastline.zip" -o ne_110m_coastline.zip + curl "http://www.naciscdn.org/naturalearth/110m/physical/ne_110m_lakes.zip" -o ne_110m_lakes.zip unzip -o ne_\*.zip ogr2ogr -f GeoJSON coastline_50m.json ne_50m_coastline.shp ogr2ogr -f GeoJSON coastline_110m.json ne_110m_coastline.shp From e9462b95880392678b87983232a160c94164273c Mon Sep 17 00:00:00 2001 From: Jack Poulson Date: Tue, 29 Jan 2019 16:57:38 -0600 Subject: [PATCH 2/5] Updating weather data location. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 083c53b86..5072d8e51 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,9 @@ the 1000 hPa wind vectors and convert them to JSON format using the [grib2json]( utility: YYYYMMDD= - curl "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs.pl?file=gfs.t00z.pgrb2.1p00.f000&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&dir=%2Fgfs.${YYYYMMDD}00" -o gfs.t00z.pgrb2.1p00.f000 - grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t00z.pgrb2.1p00.f000 + HH= + curl "https://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.${YYYYMMDD}${HH}/gfs.t${HH}z.pgrb2.1p00.f000" -o gfs.t${HH}z.pgrb2.1p00.f000 + grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t${HH}z.pgrb2.1p00.f000 cp current-wind-surface-level-gfs-1.0.json /public/data/weather/current font subsetting From a723581381af4793b547398c3836698d99d6a28d Mon Sep 17 00:00:00 2001 From: Jack Poulson Date: Tue, 29 Jan 2019 17:49:02 -0600 Subject: [PATCH 3/5] Updating weather data retrieval. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5072d8e51..9443e949c 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,8 @@ utility: YYYYMMDD= HH= - curl "https://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.${YYYYMMDD}${HH}/gfs.t${HH}z.pgrb2.1p00.f000" -o gfs.t${HH}z.pgrb2.1p00.f000 - grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t${HH}z.pgrb2.1p00.f000 + curl "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t${HH}z.pgrb2.1p00.anl&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=%2Fgfs.${YYYYMMDD}${HH}" -o gfs.t${HH}.pgrb2.1p00.anl + grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t${HH}z.pgrb2.1p00.anl cp current-wind-surface-level-gfs-1.0.json /public/data/weather/current font subsetting From 433ae01be77e24a7e17c5c44f72ca946a92fa1db Mon Sep 17 00:00:00 2001 From: Jack Poulson Date: Tue, 29 Jan 2019 17:50:00 -0600 Subject: [PATCH 4/5] Updating from anl to f000. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9443e949c..09dcc9684 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,8 @@ utility: YYYYMMDD= HH= - curl "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t${HH}z.pgrb2.1p00.anl&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=%2Fgfs.${YYYYMMDD}${HH}" -o gfs.t${HH}.pgrb2.1p00.anl - grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t${HH}z.pgrb2.1p00.anl + curl "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t${HH}z.pgrb2.1p00.f000&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=%2Fgfs.${YYYYMMDD}${HH}" -o gfs.t${HH}.pgrb2.1p00.f000 + grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t${HH}z.pgrb2.1p00.f000 cp current-wind-surface-level-gfs-1.0.json /public/data/weather/current font subsetting From e4424187f7784264b233ed28a5abdd28e3dc61ab Mon Sep 17 00:00:00 2001 From: Jack Poulson Date: Tue, 29 Jan 2019 17:52:48 -0600 Subject: [PATCH 5/5] Fixing typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09dcc9684..7b97ad482 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ utility: YYYYMMDD= HH= - curl "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t${HH}z.pgrb2.1p00.f000&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=%2Fgfs.${YYYYMMDD}${HH}" -o gfs.t${HH}.pgrb2.1p00.f000 + curl "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t${HH}z.pgrb2.1p00.f000&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=%2Fgfs.${YYYYMMDD}${HH}" -o gfs.t${HH}z.pgrb2.1p00.f000 grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t${HH}z.pgrb2.1p00.f000 cp current-wind-surface-level-gfs-1.0.json /public/data/weather/current