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.3.tar.gz (32.8 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.3-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hard_lib-1.0.3.tar.gz
Algorithm Hash digest
SHA256 2933ab17410a51f1e5d6f93c5239b9f6af5cb59790562ada6cb26e6a84bc47fd
MD5 fd16ae94ba68aa21a84e32ec9ffaf84d
BLAKE2b-256 849fbf2d8dc5b7d0175496ac9a893a7f2377142cf374a1253b2143bba0f7fc53

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hard_lib-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17848f574925d77dbbfd3c3be90afe7d6423597edf59057e073d2bc93f3725bf
MD5 b817d30e58c59f4973c25b64ec13f495
BLAKE2b-256 1520ab1f0f07ced6acefba47ea29709b695c0d67d98963663b143278a1231d0e

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