Skip to content

Commit c373f0b

Browse files
committed
CF compliancy & Upload to GCS & GeoJSON
CF of all datasets and cogs except population (processing) complete. All files have been uploaded to Mapbox and a geojson made except for the wave files due to them having Lat-lon dimensions instead of nstations.
1 parent 475c1dd commit c373f0b

File tree

64 files changed

+155602
-408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+155602
-408
lines changed

STAC/data/current/esl_gwl/collection.json

+390-356
Large diffs are not rendered by default.

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-10.0-gwl-0.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 10.0,
4444
"gwl": 0.0,
45-
"datetime": "2023-11-10T09:57:06.542543Z"
45+
"datetime": "2024-01-31T14:42:07.620749Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-10.0-gwl-1.5.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 10.0,
4444
"gwl": 1.5,
45-
"datetime": "2023-11-10T09:57:06.543544Z"
45+
"datetime": "2024-01-31T14:42:07.621742Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-10.0-gwl-3.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 10.0,
4444
"gwl": 3.0,
45-
"datetime": "2023-11-10T09:57:06.543544Z"
45+
"datetime": "2024-01-31T14:42:07.621742Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-10.0-gwl-5.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 10.0,
4444
"gwl": 5.0,
45-
"datetime": "2023-11-10T09:57:06.544533Z"
45+
"datetime": "2024-01-31T14:42:07.622744Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-100.0-gwl-0.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 100.0,
4444
"gwl": 0.0,
45-
"datetime": "2023-11-10T09:57:06.548528Z"
45+
"datetime": "2024-01-31T14:42:07.627742Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-100.0-gwl-1.5.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 100.0,
4444
"gwl": 1.5,
45-
"datetime": "2023-11-10T09:57:06.548528Z"
45+
"datetime": "2024-01-31T14:42:07.627742Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-100.0-gwl-3.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 100.0,
4444
"gwl": 3.0,
45-
"datetime": "2023-11-10T09:57:06.548528Z"
45+
"datetime": "2024-01-31T14:42:07.628740Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-100.0-gwl-5.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 100.0,
4444
"gwl": 5.0,
45-
"datetime": "2023-11-10T09:57:06.548528Z"
45+
"datetime": "2024-01-31T14:42:07.628740Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-20.0-gwl-0.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 20.0,
4444
"gwl": 0.0,
45-
"datetime": "2023-11-10T09:57:06.544533Z"
45+
"datetime": "2024-01-31T14:42:07.622744Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-20.0-gwl-1.5.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 20.0,
4444
"gwl": 1.5,
45-
"datetime": "2023-11-10T09:57:06.544533Z"
45+
"datetime": "2024-01-31T14:42:07.623742Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-20.0-gwl-3.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 20.0,
4444
"gwl": 3.0,
45-
"datetime": "2023-11-10T09:57:06.545551Z"
45+
"datetime": "2024-01-31T14:42:07.623742Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-20.0-gwl-5.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 20.0,
4444
"gwl": 5.0,
45-
"datetime": "2023-11-10T09:57:06.545551Z"
45+
"datetime": "2024-01-31T14:42:07.625755Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-5.0-gwl-0.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 5.0,
4444
"gwl": 0.0,
45-
"datetime": "2023-11-10T09:57:06.540536Z"
45+
"datetime": "2024-01-31T14:42:07.617751Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-5.0-gwl-1.5.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 5.0,
4444
"gwl": 1.5,
45-
"datetime": "2023-11-10T09:57:06.541543Z"
45+
"datetime": "2024-01-31T14:42:07.618753Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-5.0-gwl-3.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 5.0,
4444
"gwl": 3.0,
45-
"datetime": "2023-11-10T09:57:06.542543Z"
45+
"datetime": "2024-01-31T14:42:07.619752Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-5.0-gwl-5.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 5.0,
4444
"gwl": 5.0,
45-
"datetime": "2023-11-10T09:57:06.542543Z"
45+
"datetime": "2024-01-31T14:42:07.619752Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-50.0-gwl-0.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 50.0,
4444
"gwl": 0.0,
45-
"datetime": "2023-11-10T09:57:06.546537Z"
45+
"datetime": "2024-01-31T14:42:07.625755Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-50.0-gwl-1.5.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 50.0,
4444
"gwl": 1.5,
45-
"datetime": "2023-11-10T09:57:06.546537Z"
45+
"datetime": "2024-01-31T14:42:07.625755Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-50.0-gwl-3.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 50.0,
4444
"gwl": 3.0,
45-
"datetime": "2023-11-10T09:57:06.547532Z"
45+
"datetime": "2024-01-31T14:42:07.626741Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/current/esl_gwl/esl-mapbox/esl-mapbox-rp-50.0-gwl-5.0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"deltares:onclick": {},
4343
"rp": 50.0,
4444
"gwl": 5.0,
45-
"datetime": "2023-11-10T09:57:06.547532Z"
45+
"datetime": "2024-01-31T14:42:07.626741Z"
4646
},
4747
"geometry": {
4848
"type": "Polygon",

STAC/data/notebooks/08_ESLbyGWL.ipynb

+4-12
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,12 @@
1212
},
1313
{
1414
"cell_type": "code",
15-
"execution_count": 25,
15+
"execution_count": 1,
1616
"metadata": {},
1717
"outputs": [
18-
{
19-
"name": "stdout",
20-
"output_type": "stream",
21-
"text": [
22-
"The nb_black extension is already loaded. To reload it, use:\n",
23-
" %reload_ext nb_black\n"
24-
]
25-
},
2618
{
2719
"data": {
28-
"application/javascript": "\n setTimeout(function() {\n var nbb_cell_id = 25;\n var nbb_unformatted_code = \"# Optional; code formatter, installed as jupyter lab extension\\n#%load_ext lab_black\\n# Optional; code formatter, installed as jupyter notebook extension\\n%load_ext nb_black\";\n var nbb_formatted_code = \"# Optional; code formatter, installed as jupyter lab extension\\n# %load_ext lab_black\\n# Optional; code formatter, installed as jupyter notebook extension\\n%load_ext nb_black\";\n var nbb_cells = Jupyter.notebook.get_cells();\n for (var i = 0; i < nbb_cells.length; ++i) {\n if (nbb_cells[i].input_prompt_number == nbb_cell_id) {\n if (nbb_cells[i].get_text() == nbb_unformatted_code) {\n nbb_cells[i].set_text(nbb_formatted_code);\n }\n break;\n }\n }\n }, 500);\n ",
20+
"application/javascript": "\n setTimeout(function() {\n var nbb_cell_id = 1;\n var nbb_unformatted_code = \"# Optional; code formatter, installed as jupyter lab extension\\n#%load_ext lab_black\\n# Optional; code formatter, installed as jupyter notebook extension\\n%load_ext nb_black\";\n var nbb_formatted_code = \"# Optional; code formatter, installed as jupyter lab extension\\n# %load_ext lab_black\\n# Optional; code formatter, installed as jupyter notebook extension\\n%load_ext nb_black\";\n var nbb_cells = Jupyter.notebook.get_cells();\n for (var i = 0; i < nbb_cells.length; ++i) {\n if (nbb_cells[i].input_prompt_number == nbb_cell_id) {\n if (nbb_cells[i].get_text() == nbb_unformatted_code) {\n nbb_cells[i].set_text(nbb_formatted_code);\n }\n break;\n }\n }\n }, 500);\n ",
2921
"text/plain": [
3022
"<IPython.core.display.Javascript object>"
3123
]
@@ -51,12 +43,12 @@
5143
},
5244
{
5345
"cell_type": "code",
54-
"execution_count": 26,
46+
"execution_count": 2,
5547
"metadata": {},
5648
"outputs": [
5749
{
5850
"data": {
59-
"application/javascript": "\n setTimeout(function() {\n var nbb_cell_id = 26;\n var nbb_unformatted_code = \"# Import standard packages\\nimport os\\nimport pathlib\\n\\nimport numpy as np\\n#import geopandas as gpd\\nimport pandas as pd\\nimport matplotlib.pyplot as plt\\nimport xarray as xr\\nimport glob\\nimport itertools\\nimport json\\nimport copy\\nfrom itertools import chain\\nfrom shapely import wkb\\nfrom pathlib import Path\\n\\n\\n# Import custom functionality\\nfrom coclicodata.drive_config import p_drive\\nfrom coclicodata.etl.cf_compliancy_checker import check_compliancy, save_compliancy\\n\\n# Define (local and) remote drives\\ngca_data_dir = p_drive.joinpath(\\\"11208003-latedeo2022\\\",\\\"020_InternationalDeltaPortfolio\\\",\\\"datasets\\\")\\n# gca_data_dir = Path(r\\\"C:\\\\Users\\\\rowe\\\\Documents\\\\GitHub\\\\global-coastal-atlas\\\\STAC\\\\data\\\")\\n\\n# Workaround to the Windows OS (10) udunits error after installation of cfchecker: https://github.com/SciTools/iris/issues/404\\nos.environ[\\\"UDUNITS2_XML_PATH\\\"] = str(\\n pathlib.Path().home().joinpath( # change to the udunits2.xml file dir in your Python installation\\n r\\\"AppData\\\\Local\\\\miniconda3\\\\pkgs\\\\udunits2-2.2.28-h892ecd3_0\\\\Library\\\\share\\\\udunits\\\\udunits2.xml\\\"\\n )\\n)\";\n var nbb_formatted_code = \"# Import standard packages\\nimport os\\nimport pathlib\\n\\nimport numpy as np\\n\\n# import geopandas as gpd\\nimport pandas as pd\\nimport matplotlib.pyplot as plt\\nimport xarray as xr\\nimport glob\\nimport itertools\\nimport json\\nimport copy\\nfrom itertools import chain\\nfrom shapely import wkb\\nfrom pathlib import Path\\n\\n\\n# Import custom functionality\\nfrom coclicodata.drive_config import p_drive\\nfrom coclicodata.etl.cf_compliancy_checker import check_compliancy, save_compliancy\\n\\n# Define (local and) remote drives\\ngca_data_dir = p_drive.joinpath(\\n \\\"11208003-latedeo2022\\\", \\\"020_InternationalDeltaPortfolio\\\", \\\"datasets\\\"\\n)\\n# gca_data_dir = Path(r\\\"C:\\\\Users\\\\rowe\\\\Documents\\\\GitHub\\\\global-coastal-atlas\\\\STAC\\\\data\\\")\\n\\n# Workaround to the Windows OS (10) udunits error after installation of cfchecker: https://github.com/SciTools/iris/issues/404\\nos.environ[\\\"UDUNITS2_XML_PATH\\\"] = str(\\n pathlib.Path()\\n .home()\\n .joinpath( # change to the udunits2.xml file dir in your Python installation\\n r\\\"AppData\\\\Local\\\\miniconda3\\\\pkgs\\\\udunits2-2.2.28-h892ecd3_0\\\\Library\\\\share\\\\udunits\\\\udunits2.xml\\\"\\n )\\n)\";\n var nbb_cells = Jupyter.notebook.get_cells();\n for (var i = 0; i < nbb_cells.length; ++i) {\n if (nbb_cells[i].input_prompt_number == nbb_cell_id) {\n if (nbb_cells[i].get_text() == nbb_unformatted_code) {\n nbb_cells[i].set_text(nbb_formatted_code);\n }\n break;\n }\n }\n }, 500);\n ",
51+
"application/javascript": "\n setTimeout(function() {\n var nbb_cell_id = 2;\n var nbb_unformatted_code = \"# Import standard packages\\nimport os\\nimport pathlib\\n\\nimport numpy as np\\n#import geopandas as gpd\\nimport pandas as pd\\nimport matplotlib.pyplot as plt\\nimport xarray as xr\\nimport glob\\nimport itertools\\nimport json\\nimport copy\\nfrom itertools import chain\\nfrom shapely import wkb\\nfrom pathlib import Path\\n\\n\\n# Import custom functionality\\nfrom coclicodata.drive_config import p_drive\\nfrom coclicodata.etl.cf_compliancy_checker import check_compliancy, save_compliancy\\n\\n# Define (local and) remote drives\\ngca_data_dir = p_drive.joinpath(\\\"11208003-latedeo2022\\\",\\\"020_InternationalDeltaPortfolio\\\",\\\"datasets\\\")\\n# gca_data_dir = Path(r\\\"C:\\\\Users\\\\rowe\\\\Documents\\\\GitHub\\\\global-coastal-atlas\\\\STAC\\\\data\\\")\\n\\n# Workaround to the Windows OS (10) udunits error after installation of cfchecker: https://github.com/SciTools/iris/issues/404\\nos.environ[\\\"UDUNITS2_XML_PATH\\\"] = str(\\n pathlib.Path().home().joinpath( # change to the udunits2.xml file dir in your Python installation\\n r\\\"AppData\\\\Local\\\\miniconda3\\\\pkgs\\\\udunits2-2.2.28-h892ecd3_0\\\\Library\\\\share\\\\udunits\\\\udunits2.xml\\\"\\n )\\n)\";\n var nbb_formatted_code = \"# Import standard packages\\nimport os\\nimport pathlib\\n\\nimport numpy as np\\n\\n# import geopandas as gpd\\nimport pandas as pd\\nimport matplotlib.pyplot as plt\\nimport xarray as xr\\nimport glob\\nimport itertools\\nimport json\\nimport copy\\nfrom itertools import chain\\nfrom shapely import wkb\\nfrom pathlib import Path\\n\\n\\n# Import custom functionality\\nfrom coclicodata.drive_config import p_drive\\nfrom coclicodata.etl.cf_compliancy_checker import check_compliancy, save_compliancy\\n\\n# Define (local and) remote drives\\ngca_data_dir = p_drive.joinpath(\\n \\\"11208003-latedeo2022\\\", \\\"020_InternationalDeltaPortfolio\\\", \\\"datasets\\\"\\n)\\n# gca_data_dir = Path(r\\\"C:\\\\Users\\\\rowe\\\\Documents\\\\GitHub\\\\global-coastal-atlas\\\\STAC\\\\data\\\")\\n\\n# Workaround to the Windows OS (10) udunits error after installation of cfchecker: https://github.com/SciTools/iris/issues/404\\nos.environ[\\\"UDUNITS2_XML_PATH\\\"] = str(\\n pathlib.Path()\\n .home()\\n .joinpath( # change to the udunits2.xml file dir in your Python installation\\n r\\\"AppData\\\\Local\\\\miniconda3\\\\pkgs\\\\udunits2-2.2.28-h892ecd3_0\\\\Library\\\\share\\\\udunits\\\\udunits2.xml\\\"\\n )\\n)\";\n var nbb_cells = Jupyter.notebook.get_cells();\n for (var i = 0; i < nbb_cells.length; ++i) {\n if (nbb_cells[i].input_prompt_number == nbb_cell_id) {\n if (nbb_cells[i].get_text() == nbb_unformatted_code) {\n nbb_cells[i].set_text(nbb_formatted_code);\n }\n break;\n }\n }\n }, 500);\n ",
6052
"text/plain": [
6153
"<IPython.core.display.Javascript object>"
6254
]

0 commit comments

Comments
 (0)