-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
219 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,5 +112,3 @@ venv.bak/ | |
_catalogs/ | ||
_old/ | ||
|
||
# Netcdf files | ||
*.nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# This CITATION.cff file was generated with cffinit. | ||
# Visit https://bit.ly/cffinit to generate yours today! | ||
|
||
cff-version: 1.2.0 | ||
title: geolake | ||
message: >- | ||
If you use this software, please cite it using the | ||
metadata from this file. | ||
type: software | ||
authors: | ||
- given-names: Marco | ||
family-names: Mancini | ||
orcid: 'https://orcid.org/0000-0002-9150-943X' | ||
- given-names: Jakub | ||
family-names: Walczak | ||
orcid: 'https://orcid.org/0000-0002-5632-9484' | ||
- given-names: Mirko | ||
family-names: Stojiljković | ||
- given-names: Valentina | ||
family-names: Scardigno | ||
orcid: 'https://orcid.org/0000-0002-0123-5368' | ||
identifiers: | ||
- type: doi | ||
value: 10.5281/zenodo.10598417 | ||
repository-code: 'https://github.com/CMCC-Foundation/geolake' | ||
abstract: >+ | ||
geolake is an open source framework for management, | ||
storage, and analytics of Earth Science data. geolake | ||
implements the concept of a data lake as a central | ||
location that holds a large amount of data in its native | ||
and raw format. geolake does not impose any schema when | ||
ingesting the data, however it provides a unified Data | ||
Model and API for geoscientific datasets. The data is kept | ||
in the original format and storage, and the in-memory data | ||
structure is built on-the-fly for the processing analysis. | ||
The system has been designed using a cloud-native | ||
architecture, based on containerized microservices, that | ||
facilitates the development, deployment and maintenance of | ||
the system itself. It has been implemented by integrating | ||
different open source frameworks, tools and libraries and | ||
can be easily deployed using the Kubernetes platform and | ||
related tools such as kubectl. | ||
keywords: | ||
- python framework | ||
- earth science | ||
- data analytics | ||
license: Apache-2.0 | ||
version: 0.1.0 | ||
date-released: '2024-01-29' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# geolake-sample-catalog | ||
geolake Catalog Sample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
metadata: | ||
description: >- | ||
Remote Sensing Indices derived from SENTINEL S2A data | ||
contact: | ||
name: Data Deliver System Support Team | ||
email: [email protected] | ||
webpage: https://www.cmcc.it/research-organization/research-divisions/advanced-scientific-computing-division#1553329820238-2055494b-9aa6 | ||
label: Remote Sensing Indices from Sentinel S2A | ||
image: null | ||
doi: null | ||
update_frequency: null | ||
license: null | ||
publication_date: 2023-11-22 | ||
related_data: null | ||
|
||
sources: | ||
10m: | ||
description: Remote Sensing Indices at 10m | ||
metadata: | ||
role: public | ||
filters: | ||
- name: pasture | ||
user_defined: T | ||
label: Pasture | ||
driver: geokube_netcdf | ||
args: | ||
path: '{{ CATALOG_DIR }}/datasets/RS_indices/*/10m/*.nc' | ||
pattern: '{{ CATALOG_DIR }}/datasets/RS_indices/{pasture}/10m/{}.nc' | ||
field_id: '{standard_name}' | ||
mapping: | ||
NDVI: {'name': 'NDVI', 'description': 'Normalized Difference Vegetation Index'} | ||
NDWI: {'name': 'NDWI', 'description': 'Normalized Difference Water Index'} | ||
GLI: {'name': 'GLI', 'description': 'Green Leaf Index'} | ||
GCI: {'name': 'GCI', 'description': 'Green Chlorophyll Index'} | ||
RGR: {'name': 'RGR', 'description': 'Red-Green Ratio'} | ||
metadata_caching: false | ||
metadata_cache_path: '{{ CACHE_DIR }}/s2-indices-10m.cache' | ||
xarray_kwargs: | ||
parallel: true | ||
decode_coords: 'all' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import argparse | ||
import intake | ||
|
||
parser = argparse.ArgumentParser( | ||
prog="Cache generator", | ||
description="The script generating cache for the catalog", | ||
) | ||
parser.add_argument( | ||
"--cachedir", | ||
type=str, | ||
help="Directory where the cache should be saved. Default: .cache", | ||
default=".cache", | ||
) | ||
|
||
if __name__ == "__main__": | ||
args = parser.parse_args() | ||
catalog = intake.open_catalog("catalog.yaml") | ||
for ds in list(catalog): | ||
for p in list(catalog[ds]): | ||
print(f"dataset: {ds} product: {p}:") | ||
catalog = catalog(CACHE_DIR=args.cachedir) | ||
kube = catalog[ds][p].read() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
metadata: | ||
version: 0.1 | ||
parameters: | ||
CACHE_DIR: | ||
type: str | ||
description: folder to store metadata cache files | ||
default: .cache | ||
|
||
sources: | ||
era5-downscaled: | ||
driver: yaml_file_cat | ||
args: | ||
path: '{{ CATALOG_DIR }}/era5_downscaled.yaml' | ||
|
||
thi: | ||
driver: yaml_file_cat | ||
args: | ||
path: '{{ CATALOG_DIR }}/thi.yaml' | ||
|
||
rs-indices: | ||
driver: yaml_file_cat | ||
args: | ||
path: '{{ CATALOG_DIR }}/RS_indices.yaml' |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
metadata: | ||
description: >- | ||
This dataset is related to ERA5 downscaled over Italy at 2km. | ||
sources: | ||
hourly: | ||
description: ERA5 downscaled at 2km over italy hourly. | ||
driver: geokube_netcdf | ||
args: | ||
path: '{{ CATALOG_DIR }}/datasets/era5_downscaled.nc' | ||
metadata_caching: true | ||
metadata_cache_path: '{{ CACHE_DIR }}/era5_downscaled.cache' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
metadata: | ||
description: >- | ||
Thermohygrometric Indices derived from MISTRAL COSMO-2I data | ||
contact: | ||
name: Data Deliver System Support Team | ||
email: [email protected] | ||
webpage: https://www.cmcc.it/research-organization/research-divisions/advanced-scientific-computing-division#1553329820238-2055494b-9aa6 | ||
label: Thermohygrometric Indices over Italy | ||
image: null | ||
doi: null | ||
update_frequency: null | ||
license: null | ||
publication_date: 2023-06-19 | ||
related_data: null | ||
|
||
sources: | ||
hourly: | ||
description: Hourly Thermohygrometric Indices | ||
metadata: | ||
role: public | ||
filters: | ||
- name: date | ||
user_defined: T | ||
label: Date | ||
driver: geokube_netcdf | ||
args: | ||
path: '{{ CATALOG_DIR }}/datasets/THI/*.nc' | ||
pattern: '{{ CATALOG_DIR }}/datasets/THI/{date}.nc' | ||
field_id: '{standard_name}' | ||
mapping: | ||
THI_ext: {'name': 'external_thermohygrometric_index', 'description': 'External Thermohygrometric Index'} | ||
THI_int: {'name': 'internal_thermohygrometric_index', 'description': 'Internal Thermohygrometric Index'} | ||
metadata_caching: false | ||
metadata_cache_path: '{{ CACHE_DIR }}/thi-hourly.cache' | ||
xarray_kwargs: | ||
parallel: true | ||
decode_coords: 'all' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters