A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

cloudcasting

Tooling and infrastructure to enable cloud nowcasting.
https://github.com/alan-turing-institute/cloudcasting

Category: Atmosphere
Sub Category: Meteorological Observation and Forecast

Keywords

cloudcasting manchester-prize turing-ocf

Keywords from Contributors

hut23

Last synced: about 7 hours ago
JSON representation

Repository metadata

Cloud modelling (Manchester Prize)

README.md

cloudcasting

Actions Status
Documentation status badge
PyPI version
PyPI platforms

Tooling and infrastructure to enable cloud nowcasting. Full documentation can be found at https://cloudcasting.readthedocs.io/.

Linked model repos

The model template repo on which these are based is found here. These repositories contain the implementations of each model, as well as validation infrastructure to replicate metric scores on weights and biases.

Installation

For users:

git clone https://github.com/alan-turing-institute/cloudcasting
cd cloudcasting
python -m pip install .

To run metrics on GPU:

python -m pip install --upgrade "jax[cuda12]"

For making changes to the library:

On macOS you first need to install ffmpeg with the following command. On other platforms this is
not necessary.

brew install ffmpeg

Clone and install the repo.

git clone https://github.com/alan-turing-institute/cloudcasting
cd cloudcasting
python -m pip install ".[dev]"

Install pre-commit before making development changes:

pre-commit install

For making changes, see the guidance on development from the template that generated this project.

Usage

Validating a model

cloudcasting validate "path/to/config/file.yml" "path/to/model/file.py"

Downloading data

cloudcasting download "2020-06-01 00:00" "2020-06-30 23:55" "path/to/data/save/dir"

Full options:

> cloudcasting download --help

 Usage: cloudcasting download [OPTIONS] START_DATE
                              END_DATE OUTPUT_DIRECTORY

╭─ Arguments ──────────────────────────────────────────╮
*    start_date            TEXT  Start date in       │
'YYYY-MM-DD HH:MM'  │
                                  format              │
[default: None][required]*    end_date              TEXT  End date in         │
'YYYY-MM-DD HH:MM'  │
                                  format              │
[default: None][required]*    output_directory      TEXT  Directory to save   │
                                  the satellite data  │
[default: None][required]╰──────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────╮
 --download-f…                   TEXT   Frequency to  │
                                        download data │
                                        in pandas     │
                                        datetime      │
                                        format        │
[default:     │
│                                        15min] --get-hrv        --no-get-h…           Whether to    │
                                        download HRV  │
                                        data          │
[default:     │
│                                        no-get-hrv] --override-d    --no-overr…           Whether to    │
                                        override date │
                                        range limits  │
[default:     │
│                                        no-override-… │
│ --lon-min                       FLOAT  Minimum       │
│                                        longitude     │
[default:     │
│                                        -16]│ --lon-max                       FLOAT  Maximum       │
│                                        longitude     │
[default: 10]│ --lat-min                       FLOAT  Minimum       │
│                                        latitude      │
[default: 45]│ --lat-max                       FLOAT  Maximum       │
│                                        latitude      │
[default: 70]│ --test-2022-…    --no-test-…           Whether to    │
│                                        filter data   │
│                                        from 2022 to  │
│                                        download the  │
│                                        test set      │
│                                        (every 2      │
│                                        weeks).       │
[default:     │
│                                        no-test-2022… │
│ --verify-202…    --no-verif…           Whether to    │
│                                        download the  │
│                                        verification  │
│                                        data from     │
│                                        2023. Only    │
│                                        used at the   │
│                                        end of the    │
│                                        project       │
[default:     │
│                                        no-verify-20… |
│ --help                                 Show this     │
│                                        message and   │
│                                        exit.         │
╰──────────────────────────────────────────────────────╯

Contributing

See CONTRIBUTING.md for instructions on how to contribute.

License

Distributed under the terms of the MIT license.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 161
Total Committers: 6
Avg Commits per committer: 26.833
Development Distribution Score (DDS): 0.547

Commits in past year: 161
Committers in past year: 6
Avg Commits per committer in past year: 26.833
Development Distribution Score (DDS) in past year: 0.547

Name Email Commits
Nathan Simpson n****n@t****k 73
Isabel Fenton i****n@t****k 59
James Fulton d****n@y****k 23
Nathan Simpson p****e@p****m 4
Peter Yatsyshin p****n@g****m 1
James Robinson j****n@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 38
Total pull requests: 61
Average time to close issues: 15 days
Average time to close pull requests: 5 days
Total issue authors: 6
Total pull request authors: 5
Average comments per issue: 0.63
Average comments per pull request: 1.13
Merged pull request: 54
Bot issues: 0
Bot pull requests: 0

Past year issues: 38
Past year pull requests: 61
Past year average time to close issues: 15 days
Past year average time to close pull requests: 5 days
Past year issue authors: 6
Past year pull request authors: 5
Past year average comments per issue: 0.63
Past year average comments per pull request: 1.13
Past year merged pull request: 54
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/alan-turing-institute/cloudcasting

Top Issue Authors

  • dfulu (15)
  • phinate (14)
  • IFenton (6)
  • vinay752 (1)
  • pyatsysh (1)
  • evangeline-corcoran (1)

Top Pull Request Authors

  • IFenton (22)
  • dfulu (20)
  • phinate (17)
  • jemrobinson (1)
  • Alkholy53 (1)

Top Issue Labels

  • bug (3)
  • high priority (2)
  • help wanted (1)
  • enhancement (1)

Top Pull Request Labels


Dependencies

.github/workflows/cd.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3.1.4 composite
  • pre-commit/action v3.0.0 composite
notebooks/requirements.txt pypi
  • ipykernel *
  • matplotlib *
  • seaborn *
pyproject.toml pypi
  • dask *
  • gcsfs *
  • ocf-blosc2 >=0.0.10
  • pyproj *
  • pyresample *
  • typer *
  • xarray *
  • zarr *

Score: 5.2574953720277815