-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from willem0boone/dev
updated tests
- Loading branch information
Showing
8 changed files
with
387 additions
and
346 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,50 @@ | ||
[![DOI](https://sandbox.zenodo.org/badge/851485026.svg)](https://handle.stage.datacite.org/10.5072/zenodo.109216) | ||
|
||
# Edito Resampling datasets | ||
|
||
## About | ||
This project is part of EDITO-INFRA ([Grant agreement ID: 101101473](https://doi.org/10.3030/101101473)): | ||
- T7.3: End-to-end demonstrator for aquaculture and maritime industry | ||
This project is part of EDITO-INFRA | ||
([Grant agreement ID: 101101473](https://doi.org/10.3030/101101473)): | ||
- T7.3: End-to-end demonstrator for aquaculture and maritime industry. | ||
|
||
Author: Willem Boone | contact: [[email protected]]([email protected]) | ||
|
||
## Goal | ||
#### Summary of Demonstrator | ||
The demonstrator use case (DUC) consists of a smartviewer that hosts a model to predict habitat suitability based on environmental living conditions. The smartviewer is maintained in a separate [repository](https://github.com/willem0boone/Edito_model_viewer) and is based on Carbonplan its [seaweed-farming-web](https://carbonplan.org/research/seaweed-farming)/[GitHub](https://github.com/carbonplan/seaweed-farming-web). | ||
|
||
In this demonstrator, habitat suitability is calculated using a deterministic model that uses minimum and maximum thresholds on the environmental variables. | ||
The demonstrator use case (DUC) consists of a smartviewer that hosts a model to | ||
predict habitat suitability based on environmental living conditions. The | ||
smartviewer is maintained in a separate repository | ||
[GitHub - Edito_model_viewer](https://github.com/willem0boone/Edito_model_viewer) | ||
and is based on Carbonplan its | ||
[Mapping seaweed farming potential](https://carbonplan.org/research/seaweed-farming) | ||
/ | ||
[GitHub - seaweed-farming-web](https://github.com/carbonplan/seaweed-farming-web). | ||
|
||
In this demonstrator, habitat suitability is calculated using a deterministic | ||
model that uses minimum and maximum thresholds on the environmental variables. | ||
The environmental parameters that are used are: | ||
|
||
- Sea surface temperature (°C) | ||
- Sea surface salinity () | ||
- Bathymetry (depth in m) | ||
- Sea surface temperatur | ||
- Sea surface salinity | ||
- Bathymetry | ||
|
||
The thresholds for all variables can be adopted using slider widgets. On any changing parameter, the suitability map is updated and rendered in the viewer. Using a time slider, environmental parameters for several future climate scenarios can be accessed and converted in suitability maps. | ||
This work is available on this [GitHub page](https://github.com/willem0boone/Edito_model_viewer). | ||
The thresholds for all variables can be adopted using slider widgets. On any | ||
changing parameter, the suitability map is updated and rendered in the viewer. | ||
Using a time slider, environmental parameters for several future climate | ||
scenarios can be accessed and converted in suitability maps. | ||
|
||
#### Data formatting | ||
The environmental variable dataset used by the smartviewer, need to be provided in a specific format. To create this dataset, different sources and storage from Edito data lake are used. Two pipelines were required: | ||
- Downscaling large .zarr datasets to lower resolution. E.g. the bathymetry dataset is around 20GB, which is to large for the demonstrator purpose. | ||
- Creating pyramids in which each level has increasing resolution (for optimal zooming/rendering). | ||
|
||
This work is available on this [GitHub page](https://github.com/willem0boone/Edito_resampling_datasets) | ||
The environmental variable dataset used by the smartviewer, need to be provided | ||
in a specific format. To create this dataset, different sources and storage | ||
from Edito data lake are used. Two pipelines were required: | ||
- Downscaling large .zarr datasets to lower resolution. E.g. the bathymetry | ||
- dataset is around 20GB, which is to large for the demonstrator purpose. | ||
- Creating pyramids in which each level has increasing resolution (for optimal | ||
zooming/rendering). | ||
|
||
This work is available on | ||
[GitHub - Edito_resampling_datasets](https://github.com/willem0boone/Edito_resampling_datasets) | ||
. | ||
|
||
## How to use | ||
- resampling: package, pip install & documentation will follow. | ||
|
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
endpoint_url='https://minio.lab.dive.edito.eu' | ||
bucket='oidc-willemboone/EDITO_DUC' | ||
aws_access_key_id='FDR029N2ZKIUSZHV8GUH' | ||
aws_secret_access_key='5kAXkWfDpzBm0Beav2sMqcw1zg2FVEtQVhtE19yX' | ||
aws_session_token="eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NLZXkiOiJGRFIwMjlOMlpLSVVTWkhWOEdVSCIsImFjciI6IjAiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJhdWQiOlsibWluaW8iLCJhY2NvdW50Il0sImF1dGhfdGltZSI6MTcyNjY0ODcwOCwiYXpwIjoib255eGlhLW1pbmlvIiwiZW1haWwiOiJ3aWxsZW0uYm9vbmVAdmxpei5iZSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJleHAiOjE3MjY3MzUxMTYsImZhbWlseV9uYW1lIjoiQm9vbmUiLCJnaXZlbl9uYW1lIjoiV2lsbGVtIiwiZ3JvdXBzIjpbIkVESVRPX1VTRVIiLCJ2bGl6LW1vZGVsZXJzIl0sImlhdCI6MTcyNjY0ODcxNiwiaXNzIjoiaHR0cHM6Ly9hdXRoLmxhYi5kaXZlLmVkaXRvLmV1L2F1dGgvcmVhbG1zL2RhdGFsYWIiLCJqdGkiOiI4N2FlYzJhMS1hNDlhLTQ4MjItYjIxMi01YTVjYzliN2QxZTIiLCJuYW1lIjoiV2lsbGVtIEJvb25lIiwicG9saWN5Ijoic3Rzb25seSIsInByZWZlcnJlZF91c2VybmFtZSI6IndpbGxlbWJvb25lIiwicmVhbG1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3JvdXBzIjpbIkVESVRPX1VTRVIiLCJ2bGl6LW1vZGVsZXJzIl0sImlhdCI6MTcyNjczMTU1MSwiaXNzIjoiaHR0cHM6Ly9hdXRoLmxhYi5kaXZlLmVkaXRvLmV1L2F1dGgvcmVhbG1zL2RhdGFsYWIiLCJqdGkiOiJmZWU4ZGQ3Yy03NzM1LTRjMDItYTliNC00NWMzMTI4MzMxNDUiLCJuYW1lIjoiV2lsbGVtIEJvb25lIiwicG9saWN5Ijoic3Rzb25seSIsInByZWZlcnJlZF91c2VybmFtZSI6IndpbGxlbWJvb25lIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRlZmF1bHQtcm9sZXMtZGF0YWxhYiIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwic2Vzc2lvbl9zdGF0ZSI6IjY2NzFmZGRmLTNhNzctNDU1Mi05MTRlLWQwN2Q0YjY0Y2MwOSIsInNpZCI6IjY2NzFmZGRmLTNhNzctNDU1Mi05MTRlLWQwN2Q0YjY0Y2MwOSIsInN1YiI6ImI5MGIyYTUxLTk3MDQtNDE3My1iNDNjLTFlYThiZmEzZWIzNyIsInR5cCI6IkJlYXJlciJ9.qR32cJtauR_HbG-fh-BMeMt0_GCm5BzHRWn7yHcmDr9cXtJbAoZ7XjpBITmasTq_WcIoeIf5GNZSYUzkO738LA" | ||
|
||
|
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
Oops, something went wrong.