From a6a02a96c629f816384888d6bab61bdebef9b625 Mon Sep 17 00:00:00 2001 From: Aaron Kaplan Date: Mon, 4 Mar 2024 16:13:00 -0500 Subject: [PATCH 1/2] Djibouti VIIRS NDVI (temporary location) --- fbfmaproom/fbf-update-data.py | 16 ++++++++++ fbfmaproom/fbfmaproom-sample.yaml | 52 ++++++++++++++++++++++++++++--- 2 files changed, 64 insertions(+), 4 deletions(-) diff --git a/fbfmaproom/fbf-update-data.py b/fbfmaproom/fbf-update-data.py index 406c7ffe..a208d55f 100644 --- a/fbfmaproom/fbf-update-data.py +++ b/fbfmaproom/fbf-update-data.py @@ -337,6 +337,22 @@ "djibouti/ndvi-jjas", "http://iridl.ldeo.columbia.edu/SOURCES/.USGS/.LandDAAC/.MODIS/.version_006/.EAF/.NDVI/X/41.625/.25/43.375/GRID/Y/10.875/.25/12.875/GRID/T/(Jun-Sep)/seasonalAverage/", ), + ( + "djibouti/ndvi-viirs-jas", + "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Jul-Sep)/seasonalAverage/", + ), + ( + "djibouti/ndvi-viirs-mam", + "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Mar-May)/seasonalAverage/", + ), + ( + "djibouti/ndvi-viirs-ond", + "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Oct-Dec)/seasonalAverage/", + ), + ( + "djibouti/ndvi-viirs-jjas", + "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Jun-Sep)/seasonalAverage/", + ), ( "djibouti/spi-mam", "http://iridl.ldeo.columbia.edu/SOURCES/.UCSB/.CHIRPS/.v2p0/.daily-improved/.global/.0p25/.prcp/X/41.625/43.375/RANGE/Y/10.875/12.875/RANGE/monthlyAverage/T/(days%20since%201960-01-01)/streamgridunitconvert/T/differential_mul/T/(months%20since%201960-01-01)/streamgridunitconvert/a%3A/3/gamma3par/pcpn_accum/gmean/gsd/gskew/pzero/3/gammaprobs/3/gammastandardize/T//pointwidth/3/def//defaultvalue/%7Blast%7D/def/-1./shiftGRID/T/(Mar-May%201991)/last/12/RANGESTEP//long_name/(Standardized%20Precipitation%20Index)/def/%3Aa%3A/T/(Mar-May)/seasonalAverage/0./flaggt/%5BT%5Daverage/1./3./div/flaggt/1./masklt/%3Aa/mul/DATA/-3/3/RANGE//name//spi/def/" diff --git a/fbfmaproom/fbfmaproom-sample.yaml b/fbfmaproom/fbfmaproom-sample.yaml index 9be63649..b927153e 100644 --- a/fbfmaproom/fbfmaproom-sample.yaml +++ b/fbfmaproom/fbfmaproom-sample.yaml @@ -1878,7 +1878,7 @@ countries: colormap: precip lower_is_worse: yes ndvi: - label: NDVI + label: NDVI (MODIS 6) path: djibouti/ndvi-jas.zarr var_names: value: NDVI @@ -1888,6 +1888,17 @@ countries: colormap: precip lower_is_worse: yes format: number4 + ndvi-viirs: + label: NDVI (VIIRS) + path: djibouti/ndvi-viirs-jas.zarr + var_names: + value: NDVI + lat: Y + lon: X + time: T + colormap: precip + lower_is_worse: yes + format: number4 enso_state: *enso_3mo spi: label: SPI @@ -1996,7 +2007,7 @@ countries: colormap: precip lower_is_worse: yes ndvi: - label: NDVI + label: NDVI (MODIS 6) path: djibouti/ndvi-mam.zarr var_names: value: NDVI @@ -2006,6 +2017,17 @@ countries: colormap: precip lower_is_worse: yes format: number4 + ndvi-viirs: + label: NDVI (VIIRS) + path: djibouti/ndvi-viirs-mam.zarr + var_names: + value: NDVI + lat: Y + lon: X + time: T + colormap: precip + lower_is_worse: yes + format: number4 enso_state: *enso_3mo bad-years: label: Reported bad years (lower is worse) @@ -2115,7 +2137,7 @@ countries: colormap: precip lower_is_worse: yes ndvi: - label: NDVI + label: NDVI (MODIS 6) path: djibouti/ndvi-ond.zarr var_names: value: NDVI @@ -2125,6 +2147,17 @@ countries: colormap: precip lower_is_worse: yes format: number4 + ndvi-viirs: + label: NDVI (VIIRS) + path: djibouti/ndvi-viirs-ond.zarr + var_names: + value: NDVI + lat: Y + lon: X + time: T + colormap: precip + lower_is_worse: yes + format: number4 enso_state: *enso_3mo bad-years: label: Reported bad years (lower is worse) @@ -2243,7 +2276,7 @@ countries: colormap: precip lower_is_worse: yes ndvi: - label: NDVI + label: NDVI (MODIS 6) path: djibouti/ndvi-jjas.zarr var_names: value: NDVI @@ -2253,6 +2286,17 @@ countries: colormap: precip lower_is_worse: yes format: number4 + ndvi-viirs: + label: NDVI (VIIRS) + path: djibouti/ndvi-viirs-jjas.zarr + var_names: + value: NDVI + lat: Y + lon: X + time: T + colormap: precip + lower_is_worse: yes + format: number4 enso_state: *enso_4mo bad-years: label: Reported bad years (lower is worse) From b19ef888cd58f803295efda5eebea9211d617a74 Mon Sep 17 00:00:00 2001 From: Aaron Kaplan Date: Wed, 6 Mar 2024 14:41:59 -0500 Subject: [PATCH 2/2] Move to SOURCES --- fbfmaproom/fbf-update-data.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fbfmaproom/fbf-update-data.py b/fbfmaproom/fbf-update-data.py index a208d55f..31366aea 100644 --- a/fbfmaproom/fbf-update-data.py +++ b/fbfmaproom/fbf-update-data.py @@ -339,19 +339,19 @@ ), ( "djibouti/ndvi-viirs-jas", - "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Jul-Sep)/seasonalAverage/", + "https://iridl.ldeo.columbia.edu/SOURCES/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Jul-Sep)/seasonalAverage/", ), ( "djibouti/ndvi-viirs-mam", - "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Mar-May)/seasonalAverage/", + "https://iridl.ldeo.columbia.edu/SOURCES/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Mar-May)/seasonalAverage/", ), ( "djibouti/ndvi-viirs-ond", - "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Oct-Dec)/seasonalAverage/", + "https://iridl.ldeo.columbia.edu/SOURCES/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Oct-Dec)/seasonalAverage/", ), ( "djibouti/ndvi-viirs-jjas", - "https://iridl.ldeo.columbia.edu/home/.remic/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Jun-Sep)/seasonalAverage/", + "https://iridl.ldeo.columbia.edu/SOURCES/.NASA/.GSFC/.SED/.TISL/.LandSIPS/.VNP13/.C2/.v002/.NDVI/X/32.625/.25/48.375/GRID/Y/2.625/.25/15.375/GRID/T/(Jun-Sep)/seasonalAverage/", ), ( "djibouti/spi-mam",