rascal

Python package to reconstruct and extend observational climate series through empricial downscaling of large-scale models

https://github.com/alvaro-gc95/rascal

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 9 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.8%) to scientific vocabulary

Keywords

climate-data downscaling extension library meteorology package python reconstructions

Scientific Fields

Engineering Computer Science - 40% confidence
Last synced: 6 months ago · JSON representation ·

Repository

Python package to reconstruct and extend observational climate series through empricial downscaling of large-scale models

Basic Info
  • Host: GitHub
  • Owner: alvaro-gc95
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 242 MB
Statistics
  • Stars: 9
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 3
Topics
climate-data downscaling extension library meteorology package python reconstructions
Created about 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

Reconstruction by AnalogS of ClimatologicAL time series (RASCAL)

docs PyPi GMD DOI

RASCAL is a python library desinged to reconstruct time series of climatological data, based on the Analog Method (AM), to use them for climate studies. The AM is a statistical downscalling method, based on the assumption that large-scale atmospheric conditions tend to produce similar local weather patterns, and therefore is possible to predict local conditions finding analog days, with similar large-scale patterns, in the historical record. The objective of RASCAL is to generate complete time series, based on limited observational data, that can reproduce the climatic characteristics of the region to study better than the reanalysis products.

Requirements

To run this library renalaysis and observational data is required. the reanalysis data should cover the whole period to be reconstructed, and should have at least one predictor variable.The observational data temporal cover must overlap with the reanalysis data.

The choice of the predictor variable is flexible. However, if you want to reconstruct a long time series, it's important to consider that the connection between the predictor and the predicted variable should be very robust. This is because certain relationships may change in a changing climate scenario.

RASCAL is based in python 3.10. To run RASCAL, these other python libraries are required:

  • numpy 1.26.4
  • pandas 2.2.1
  • dask 2024.4.1
  • xarray 2024.3.0
  • scipy 1.13.0
  • tqdm 4.65.0
  • scikit-learn 1.4.1.post1
  • seaborn 0.13.2
  • eofs 1.4.1

Documentation

For a more detalied documentation and tutorials check RASCAL ReadTheDocs.

Getting Started

RASCAL can be installed through PyPi. It is recommemded to create a virtual environment first.

conda create --name rascal_env python==3.10 conda activate rascal_env python3 -m pip install rascal-ties

How to use

RASCAL is a library based in four main clases: Station, Predictor, Analogs and Rskill, and an additional class CIndex, that allows to calculate relevant climatic indices

You can find datasets to practice in Zenodo

To run RASCAl as a python library, you can refer to the tutorial in the documentation: Make your first reconstruction.

This repository contains a the script multiplerunsexample.py, where all the neccesary steps to make reconstructions are already programmed, allowing to make lots of different reconstructions for different stations, variables, analog pool sizes, and similarity methods, only modifying the configuration file config.yaml and running:

python python3 multiple_runs_example.py

To validate and plot the results, and compare its skill to the observations and reference reanalysis, you can use the Jupyter Notebook RASCAL_evaluation.ipynb

References

Owner

  • Login: alvaro-gc95
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
- family-names: González-Cervera
  given_names: Álvaro 
orcid: https://orcid.org/0000-0002-3204-090X
title:alvaro-gc95/RASCAL: RASCALv1.0.10
version: v1.0.10
date-released: 2024-07-12

GitHub Events

Total
  • Issue comment event: 1
  • Push event: 2
  • Pull request event: 2
  • Fork event: 1
Last Year
  • Issue comment event: 1
  • Push event: 2
  • Pull request event: 2
  • Fork event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 60
  • Total Committers: 2
  • Avg Commits per committer: 30.0
  • Development Distribution Score (DDS): 0.483
Past Year
  • Commits: 52
  • Committers: 2
  • Avg Commits per committer: 26.0
  • Development Distribution Score (DDS): 0.423
Top Committers
Name Email Commits
alvaro-gc95 1****5 31
alvaro-gc95 a****o@i****s 29
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 14 minutes
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.14
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 hours
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • alvaro-gc95 (8)
  • B0RJA (2)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 17 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 11
  • Total maintainers: 1
pypi.org: rascal-ties

Open-source tool for climatological time series reconstruction and extension

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 17 Last month
Rankings
Dependent packages count: 9.9%
Average: 37.8%
Dependent repos count: 65.6%
Maintainers (1)
Last synced: 6 months ago