DeepClimate
A Python package for climate modelling and data analysis with deep learning.
Latest Version: 0.1.0 Status: Alpha
Description
DeepClimate is an intuitive Python library designed to simplify the training and evaluation of deep neural networks tailored for climate science. Whether you're working on emulation, downscaling, or bias correction of climate datasets, DeepClimate offers tools and pre-built deep learning models to accelerate your research and applications.
Installing the package
pip install deepclimate
Features
- Built-in support for state-of-the-art deep learning architectures and training strategies (e.g., CNN, U-Net, GAN, etc.).
- Custom loss functions for climate modeling and other climate-specific metrics.
- Tools for data preprocessing, visualization, and evaluation.
Objectives:
- Easy-to-use interface for novice users.
- Develop a deep learning framework for training deep learning models with climate data.
- Create custom modules for physics-informed training of deep learning models.
- Custom training loss functions and evaluation metrics related to the climate science community.
- An open library to host deep learning architectures from the literature.
Applications:
- Climate data downscaling and bias-correction
- Weather/Climate prediction models.
- Hydro-meteorological research.
- Climate data analysis
Basic usage
# Import library modules
from deepclimate.tensorflow.train import ModelTraining
from deepclimate.tensorflow.models import LinearDense
# Load training and validation data
X_train, y_train = ... # Prepare the training dataset (numpy array)
X_val, y_val = ... # Prepare the validation dataset (numpy array)
model = LinearDense(...) # Construct the model architecture
# Initialize the ModelTraining class with specified parameters
mt = ModelTraining(
generator = model, # Generator architecture (model) to be used
loss_fn = 'loss', # Loss function for training
lr_init = 0.0001, # Initial learning rate for the optimizer
)
# Train the model using the specified training and validation data, and other parameters
mt.train(
train_data = (X_train, y_train), # Training data (input features and target labels)
val_data = (X_val, y_val), # Validation data (input features and target labels)
epochs = int, # Number of epochs to train the model (can be adjusted)
batch_size = int, # Batch size for training and validation
)
IMPORTANT NOTE
- The package is under development. Stay connected.
Metadata
Release files for deepclimate 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deepclimate-0.1.3.tar.gz | 10.6 kB | Without provenance | Details for deepclimate-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deepclimate-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for deepclimate-0.1.3-py3-none-any.whl |
Total release size: 50.7 kB
Release files / deepclimate-0.1.3.tar.gz
| Download URL | deepclimate-0.1.3.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7facd8352b9c27148091618568e5c57ab0fdb1cc9927dd4b0dcb2b1dfc9a4bba
|
|
BLAKE2b-256 checksum How to use checksums |
09a0f3998c8dceabe6736aa4165308d4008ac1a6990b117f06049d58870c1898
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.0
|
Release files / deepclimate-0.1.3-py3-none-any.whl
| Download URL | deepclimate-0.1.3-py3-none-any.whl |
|---|---|
| Size | 40.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5727091f7ac86ab4c13fc02b455b55f1614e43d8571a92e05687f0ccbe413d26
|
|
BLAKE2b-256 checksum How to use checksums |
aeb129759a4960751c549644f4d99cc521afb18c46b089fcad7649938649328a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.0
|
Security for deepclimate 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.