From a778f32c3a1561261c8133666c673adcfdcac335 Mon Sep 17 00:00:00 2001 From: wwieder Date: Thu, 17 Apr 2025 16:47:12 -0600 Subject: [PATCH 1/3] potential yaml for regions --- lib/regions_lnd.yaml | 137 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 lib/regions_lnd.yaml diff --git a/lib/regions_lnd.yaml b/lib/regions_lnd.yaml new file mode 100644 index 000000000..93dc825af --- /dev/null +++ b/lib/regions_lnd.yaml @@ -0,0 +1,137 @@ +# Define regions with lists for boundaries of +# - lat (-90 to 90) +# - lon (-180 to 180) + +Region: +- "Global" + - [-90, 90] + - [-180, 180] +- "N. Hemisphere Land" + - [0, 90] + - [-180, 180] +- "S. Hemisphere Land" + - [-90, 0] + - [-180, 180] +- "Polar" + - [60, 90] + - [-180, 180] +- "Alaskan Arctic" + - [66.5, 72] + - [-170, -140] +- "Canadian Arctic" + - [66.5, 90] + - [-120, -60] +- "Greenland" + - [60, 90] + - [-60, -20] +- "Russian Arctic" + - [66.5, 90] + - [70, 170] +- "Antarctica" + - [-90, -65] + - [-180, 180] +- "Alaska" + - [59, 66.5] + - [-170, -140] +- "Northwest Canada" + - [55, 66.5] + - [-125, -100] +- "Central Canada" + - [50, 62] + - [-100, -80] +- "Eastern Canada" + - [50, 60] + - [-80, -55] +- "Northern Europe" + - [60, 70] + - [5, 45] +- "Western Siberia" + - [55, 66.5] + - [60, 90] +- "Eastern Siberia" + - [50, 66.5] + - [90, 140] +- "Lost Boreal Forest" + - [48, 56] + - [95, 103] +- "Western U.S." + - [30, 50] + - [-130, -105] +- "Central U.S." + - [30, 50] + - [-105, -90] +- "Eastern U.S.” + - [30, 50] + - [-90, -70] +- "Europe" + - [45, 60] + - [-10, 30] +- "Mediterranean" + - [34, 45] + - [-10, 30] +- "Central America" + - [5, 16] + - [-95, -75] +- "Amazonia" + - [-10, 0] + - [-70, -50] +- "Central Africa" + - [-5, 5] + - [10, 30] +- "Indonesia" + - [-10, 10] + - [90, 150] +- "Brazil" + - [-23.5, -10] + - [-65, -30] +- "Sahel" + - [6, 16] + - [-5, 15] +- "Southern Africa" + - [-23.5, -5] + - [10, 40] +- "India" + - [10, 23.5] + - [70, 90] +- "Indochina" + - [10, 23.5] + - [90, 120] +- "Sahara Desert" + - [16, 30] + - [-20, 30] +- "Arabian Peninsula" + - [16, 30] + - [35, 60] +- "Australia" + - [-30, -20] + - [110, 145] +- "Central Asia" + - [35, 50] + - [55, 70] +- "Mongolia" + - [40, 50] + - [85, 120] +- "Tibetan Plateau" + - [30, 40] + - [80, 100] +- "Central Asia" + - [40, 50] + - [40, 100] +- "NE China" + - [40, 50] + - [100, 130] +- "Eastern China" + - [30, 40] + - [100, 120] +- "Southern Asia" + - [20, 30] + - [60, 120] +- "Sahara and Arabia" + - [15, 30] + - [-15, 60] +- "MedSea and MidEast" + - [30, 45] + - [-10, 60] +- "Tigris Euphrates" + - [30, 40] + - [37, 50] From e9b309f512df18d6d5696e037244d2536bbfa808 Mon Sep 17 00:00:00 2001 From: wwieder Date: Thu, 17 Apr 2025 17:02:47 -0600 Subject: [PATCH 2/3] alternative python format --- lib/regions_lnd.py | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 lib/regions_lnd.py diff --git a/lib/regions_lnd.py b/lib/regions_lnd.py new file mode 100644 index 000000000..7704118af --- /dev/null +++ b/lib/regions_lnd.py @@ -0,0 +1,49 @@ +# Define regions with lists for boundaries of +# - lat (-90 to 90) +# - lon (-180 to 180) + +regions = { + "Global": [[-90, 90], [-180, 180]], + "N. Hemisphere Land": [[0, 90], [-180, 180]], + "S. Hemisphere Land": [[-90, 0], [-180, 180]], + "Polar": [[60, 90], [-180, 180]], + "Alaskan Arctic": [[66.5, 72], [-170, -140]], + "Canadian Arctic": [[66.5, 90], [-120, -60]], + "Greenland": [[60, 90], [-60, -20]], + "Russian Arctic": [[66.5, 90], [70, 170]], + "Antarctica": [[-90, -65], [-180, 180]], + "Alaska": [[59, 66.5], [-170, -140]], + "Northwest Canada": [[55, 66.5], [-125, -100]], + "Central Canada": [[50, 62], [-100, -80]], + "Eastern Canada": [[50, 60], [-80, -55]], + "Northern Europe": [[60, 70], [5, 45]], + "Western Siberia": [[55, 66.5], [60, 90]], + "Eastern Siberia": [[50, 66.5], [90, 140]], + "Lost Boreal Forest": [[48, 56], [95, 103]], + "Western U.S.": [[30, 50], [-130, -105]], + "Central U.S.": [[30, 50], [-105, -90]], + "Eastern U.S.": [[30, 50], [-90, -70]], + "Europe": [[45, 60], [-10, 30]], + "Mediterranean": [[34, 45], [-10, 30]], + "Central America": [[5, 16], [-95, -75]], + "Amazonia": [[-10, 0], [-70, -50]], + "Central Africa": [[-5, 5], [10, 30]], + "Indonesia": [[-10, 10], [90, 150]], + "Brazil": [[-23.5, -10], [-65, -30]], + "Sahel": [[6, 16], [-5, 15]], + "Southern Africa": [[-23.5, -5], [10, 40]], + "India": [[10, 23.5], [70, 90]], + "Indochina": [[10, 23.5], [90, 120]], + "Sahara Desert": [[16, 30], [-20, 30]], + "Arabian Peninsula": [[16, 30], [35, 60]], + "Australia": [[-30, -20], [110, 145]], + "Central Asia": [[35, 50], [55, 70]], + "Mongolia": [[40, 50], [85, 120]], + "Tibetan Plateau": [[30, 40], [80, 100]], + "NE China": [[40, 50], [100, 130]], + "Eastern China": [[30, 40], [100, 120]], + "Southern Asia": [[20, 30], [60, 120]], + "Sahara and Arabia": [[15, 30], [-15, 60]], + "MedSea and MidEast": [[30, 45], [-10, 60]], + "Tigris Euphrates": [[30, 40], [37, 50]], +} From 5928dcf3ae2fd626c862fb43df99960974f60783 Mon Sep 17 00:00:00 2001 From: wwieder Date: Fri, 18 Apr 2025 13:36:22 -0600 Subject: [PATCH 3/3] unwanted .py option --- lib/regions_lnd.py | 49 ---------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 lib/regions_lnd.py diff --git a/lib/regions_lnd.py b/lib/regions_lnd.py deleted file mode 100644 index 7704118af..000000000 --- a/lib/regions_lnd.py +++ /dev/null @@ -1,49 +0,0 @@ -# Define regions with lists for boundaries of -# - lat (-90 to 90) -# - lon (-180 to 180) - -regions = { - "Global": [[-90, 90], [-180, 180]], - "N. Hemisphere Land": [[0, 90], [-180, 180]], - "S. Hemisphere Land": [[-90, 0], [-180, 180]], - "Polar": [[60, 90], [-180, 180]], - "Alaskan Arctic": [[66.5, 72], [-170, -140]], - "Canadian Arctic": [[66.5, 90], [-120, -60]], - "Greenland": [[60, 90], [-60, -20]], - "Russian Arctic": [[66.5, 90], [70, 170]], - "Antarctica": [[-90, -65], [-180, 180]], - "Alaska": [[59, 66.5], [-170, -140]], - "Northwest Canada": [[55, 66.5], [-125, -100]], - "Central Canada": [[50, 62], [-100, -80]], - "Eastern Canada": [[50, 60], [-80, -55]], - "Northern Europe": [[60, 70], [5, 45]], - "Western Siberia": [[55, 66.5], [60, 90]], - "Eastern Siberia": [[50, 66.5], [90, 140]], - "Lost Boreal Forest": [[48, 56], [95, 103]], - "Western U.S.": [[30, 50], [-130, -105]], - "Central U.S.": [[30, 50], [-105, -90]], - "Eastern U.S.": [[30, 50], [-90, -70]], - "Europe": [[45, 60], [-10, 30]], - "Mediterranean": [[34, 45], [-10, 30]], - "Central America": [[5, 16], [-95, -75]], - "Amazonia": [[-10, 0], [-70, -50]], - "Central Africa": [[-5, 5], [10, 30]], - "Indonesia": [[-10, 10], [90, 150]], - "Brazil": [[-23.5, -10], [-65, -30]], - "Sahel": [[6, 16], [-5, 15]], - "Southern Africa": [[-23.5, -5], [10, 40]], - "India": [[10, 23.5], [70, 90]], - "Indochina": [[10, 23.5], [90, 120]], - "Sahara Desert": [[16, 30], [-20, 30]], - "Arabian Peninsula": [[16, 30], [35, 60]], - "Australia": [[-30, -20], [110, 145]], - "Central Asia": [[35, 50], [55, 70]], - "Mongolia": [[40, 50], [85, 120]], - "Tibetan Plateau": [[30, 40], [80, 100]], - "NE China": [[40, 50], [100, 130]], - "Eastern China": [[30, 40], [100, 120]], - "Southern Asia": [[20, 30], [60, 120]], - "Sahara and Arabia": [[15, 30], [-15, 60]], - "MedSea and MidEast": [[30, 45], [-10, 60]], - "Tigris Euphrates": [[30, 40], [37, 50]], -}