Skip to main content

Python package for CRE processing

Project description

dCRE

Computation and decomposition of Cloud Radiative Effects (CRE)

ci.yaml

[!WARNING] This package is still under development. Things will break.

Installation

pip install dcre

Usage

import dcre

# Add reference and perturbed sources
src1 = dcre.cre_decomposition.Simulation(CWP, CF, NCCN, albedo, albd_clear,SOLIN)
src2 = dcre.cre_decomposition.Simulation(CWP, CF, NCCN, albedo, albd_clear,SOLIN)

# Configure decomposition
decompositer = dcre.cre_decomposition.CRE_Decompositer(src1, src2)

# Decompose
decompositer.decompose(cre_scaling=False)

# Write results to disk
ds = decompositer.to_dataset()
ds.to_netcdf("decomposition.nc")

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

dcre-2023.2.4.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

dcre-2023.2.4-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file dcre-2023.2.4.tar.gz.

File metadata

  • Download URL: dcre-2023.2.4.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for dcre-2023.2.4.tar.gz
Algorithm Hash digest
SHA256 cfdda906c309213ac2ebc649c63f4cd69562d67ed1552e07be6e102409bb76d9
MD5 b82f164e8aa4106f38ead3f9e36cbf04
BLAKE2b-256 dff7e5640597d87cf55dc90644889bcf368f0fdcb7f2a9bbc5258af48a5060b3

See more details on using hashes here.

File details

Details for the file dcre-2023.2.4-py3-none-any.whl.

File metadata

  • Download URL: dcre-2023.2.4-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for dcre-2023.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2dd45f8f467f6c302c65d9fcb0bc4080fe7951d982e774fcbe3b94f4c25c7e50
MD5 dc77f443d055156f4ad2b6bb99afe606
BLAKE2b-256 62545917049123f896e37bbf57390683c712f6078d75019e04149287b041f963

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page