Skip to main content

Harmony Analysis Ready Dataset

Project description

Pre-requisites

  1. Create an ECMWF account to access the ERA5 CDS API (for setup go to cds.climate.copernicus.eu). This is needed for wind-field information.

  2. Create an Alaskan Satellite Fascility (ASF) account so that you may querry their API using asf_search. Store your ASK credentials in a .netrc file. This will be needed to download data from ASF.

An example .netrc:

machine asf
login YOURUSERNAME
password YOURPASSWORD

Installation

Create a new environment and activate

conda create -n ENV_NAME python==3.12

conda activate ENV_NAME

Conda install GDAL (not enabled from pip)

conda install GDAL

Clone HARD repository

git clone https://gitlab.tudelft.nl/yyuan6/hard.git

Navigate to cloned folder and install an editibale version

cd HARD

pip install -e .

Usage

Python

For Python tutorials refer to the notebook tutorials in hard/Tutorial/

Command Line Interface (CLI)

To run an automated download, processing and saving exercise using a bash script go to either:

  • hard/HARD/CLI/download_process_save_local_example.sh
  • hard/HARD/CLI/download_process_save_DelftBlue_example.sh

Please copy the files before editing and do not track them in this git repository.

NOTE

When submitting the bash script on Delft Blue, please make sure a logs subdirectory exists in the same location as the .sh file, e.g.:

mkdir -p logs
sbatch /home/.../hard/HARD/CLI/download_process_save_DelftBlue_example.sh

To Do

ERA5

  • check if ERA5 file exists before downloading
  • give downlaoded era5 files descriptive names relating to aoi (so that they may be reused)
  • enable using pre-downlaoded era5 files

Processing

  • return the xsar object instead of arbitrary roughness field
  • land masking on radar data
  • add attributes to file for all processing steps and
  • get land mask from xsar variable
  • streamline output types so that .values and .item() can be kept to a minimum
  • remove unnecessary variables after preprocessing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hard_lib-1.0.2.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hard_lib-1.0.2-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file hard_lib-1.0.2.tar.gz.

File metadata

  • Download URL: hard_lib-1.0.2.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for hard_lib-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8a621d16dcf2c5a5b64b289d66b9aeeb5af26ac613a897ef748a83aa4f1af17e
MD5 2e9a26ef3eb1492248ac387895bb9aa2
BLAKE2b-256 c6611d151fff9e1e5216ea3010f22040005a9d355d69a5c4df5376de22b8467e

See more details on using hashes here.

File details

Details for the file hard_lib-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: hard_lib-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 41.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for hard_lib-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02c3687b3873d1f8584b66d89910e52cfe4b6e4cc7b52d124181900c798494f7
MD5 62f437000709f65777bb4293c2b870bd
BLAKE2b-256 f477ee6a5aec72f840e387b9acc45bc6ff041cb377011c4f964d1f5dfe2c9018

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page