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.1.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.1-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hard_lib-1.0.1.tar.gz
  • Upload date:
  • Size: 32.8 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.1.tar.gz
Algorithm Hash digest
SHA256 1edc6f6cbf087808592b8cd309d881ee152a9e5f6ba1136ad983dab97b8b295b
MD5 7ae0bede568040bb57b0a7a46daf2393
BLAKE2b-256 b1af602807bd7cdffa24b52c363895425486e2f98c8b9e2fc6a0624abe167765

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hard_lib-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c8d9f3a4626ee6957b5eeb5810a12e965c0304dcf0aec545c3cfa5ae9f5a0c
MD5 07466c2c1ba605c0039b9aa50bf8cc9c
BLAKE2b-256 36e52206845bf507d6019889907708464937d3f8c5c598f03a1cecc52ad91281

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