summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/nomads-cloud
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-04-27 21:43:18 +0200
committermakefu <github@syntax-fehler.de>2021-05-15 13:11:34 +0200
commit329d01a7bfc592edaf790e40b3a58d4ffac982b8 (patch)
tree07fe188e3288d9034f04a636ca95c449d9769bc1 /krebs/5pkgs/simple/nomads-cloud
parent6674b6c0a98e3dbf212d5c36e6f6d7f17a4d5df5 (diff)
nomads-cloud: fix url
Diffstat (limited to 'krebs/5pkgs/simple/nomads-cloud')
-rw-r--r--krebs/5pkgs/simple/nomads-cloud/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/nomads-cloud/default.nix b/krebs/5pkgs/simple/nomads-cloud/default.nix
index 6e4ace484..97cf10d1f 100644
--- a/krebs/5pkgs/simple/nomads-cloud/default.nix
+++ b/krebs/5pkgs/simple/nomads-cloud/default.nix
@@ -10,7 +10,8 @@ writers.writeDashBin "nomads-cloud" ''
date=$(${coreutils}/bin/date +%Y%m%d)
for hour in 18 12 06 00; do
- url="https://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25_1hr.pl?file=gfs.t''${hour}z.pgrb2.0p25.anl&lev_entire_atmosphere_%5C%28considered_as_a_single_layer%5C%29=on&var_CWAT=on&leftlon=-180&rightlon=180&toplat=90&bottomlat=-90&dir=%2Fgfs.$date%2F$hour"
+ url="https://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25_1hr.pl?file=gfs.t''${hour}z.pgrb2.0p25.anl&lev_entire_atmosphere_%5C%28considered_as_a_single_layer%5C%29=on&var_CWAT=on&leftlon=-180&rightlon=180&toplat=90&bottomlat=-90&dir=%2Fgfs.''${date}%2F''${hour}%2Fatmos"
+ echo "$url"
${curl}/bin/curl -fsS "$url" > "$grib_path"
if [ "$?" -eq 0 ]; then
break