Skip to main content

Tools to analyse climate data for machine learning and event analysis

Project description

climpy

logo

Climpy is working to help climate researchers to analyse climate data, write in formats ready to be used with machine learning models and analyse the accuracy of model predictions

https://github.com/climai/climpy/actions/workflows/python-app.yml/badge.svg

The package is divided into three parts

  • Transform: The transform module transforms by applying different conditions on your dataset. The class diagram below will detail on the application of the module.
---
Transform
---

classDiagram

Hazard <|-- Criterion

class Condition{
    args
    returns_event
    func()
}

class Criterion{
    sequence
    apply_conditions()
    valid_conditions(sequence) bool
}

class Hazard{

    event_locations
    n_events
    apply_conditions()
    valid_conditions()
    get_event(n) Event
    all_events() EventList
}

class DataArray{
    xr.DataArray variables
    xr.DataArray functions()
}

class LinkDataHazard{
    on_events()
    get_values()
}

class Event{
    data
    location
    start_time
    end_time
    
    r
    tau

    set_intensity()
}

class EventList{
    event_list
}

DataArray -- LinkDataHazard
LinkDataHazard -- Hazard
Hazard *-- EventList
EventList *--Event
Condition .. Criterion
Condition .. Hazard
  • ml_data: The ml_data module creates/writes data to be used conveniently for different kinds of machine learning models. The class diagram below will detail on the application of the module.
---
Data ML
---
classDiagram


List *-- DataArray

class X{
    values
    meta
}

class Y{
    values
    meta
}

class MLData{
    X
    Y
    tvt_split()
}


class DataArray{
    xr.DataArray variables
    xr.DataArray functions()
}

class Split
  • Metrics: The metrics module can be applied to observed and simulated variables. This would include exhaustive set of different metrics that can be used on climate related data

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

climpy-0.0.4.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

climpy-0.0.4-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file climpy-0.0.4.tar.gz.

File metadata

  • Download URL: climpy-0.0.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/3.10.0-1160.80.1.el7.x86_64

File hashes

Hashes for climpy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 615549ddff83ba0aa47fd969e7f4fa906d48af46c1dd88115ce03467a3909695
MD5 e502ab03221b30698bcbab147c042435
BLAKE2b-256 fa7124271ef8d6d0daabcafc12747267904fcc44401a77d8471b9786ed9b9501

See more details on using hashes here.

File details

Details for the file climpy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: climpy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/3.10.0-1160.80.1.el7.x86_64

File hashes

Hashes for climpy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0da69edacb24e9f22d308dd04ae07d1cf9376d2ca686bc802302fb3d850436d8
MD5 dfbca612e05635deb6731962cf58d5d8
BLAKE2b-256 74a8840a898f03da3380b599c2460f39303eb98f2ca05a46c5b48652f2d260a1

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