Skip to main content

ESM Analysis

https://img.shields.io/pypi/v/esm_analysis.svg https://img.shields.io/travis/pgierz/esm_analysis.svg Documentation Status

Analysis Scripts for ESM Simulations

Quickstart

esm_analysis is the sugar for your bitter CDO-coffee. Check it out:

Install esm_analysis with:

pip install esm_analysis

Go to an experiment:

cd /work/ba0989/a270077/AWICM_PISM/LGM_011

Get a climatology:

esm_analysis newest-climatology temp2
esm_analysis newest-climatology thetao

Calculate AMOC:

esm_analysis amoc

Isn’t that better than this?

outdata_dir=... # oh man now I need to figure out where the outdata is
expid=PI # ...uh...PI, I guess?...
outfile=test.nc # ...I guess I should think of a real name for my output
vars=temp2 # Oh! I know that one!
filepattern="echam6_echam"
fileext=".nc" # Aww geez I have no idea. Is it nc? grb? Let's just guess...
# How did cdo work again?
cdo -h select
cdo -h timmmean
# Ok, now I think I know what I want:
cdo -f nc -t echam6 -timmean -select,name=$vars ${outdata_dir}/${expid}_${filepattern}${fileext} $outfile

I’d support the following hypothesis: you clearly don’t want to type all that stuff out. Just say what you want. Easy, right?

The computer should be able to figure out the rest for you. If Google can predict where I get my breakfast, why can’t my computer figure out what CDO command I want to use??

Features

History

This project was inspired by the many headaches caused by it not existing. Here’s what has happened so far:

0.4.2 (2020-02-04)

  • Closes #4

0.4.1 (2020-02-04)

  • Minor documentation update.

0.4.0 (2020-02-03)

  • FESOM 1.4 climatologies

0.3.4 (2020-01-31)

  • Docs fixup

  • Links in wrong place in README.

0.3.3 (2020-01-31)

  • Adds version information with --version

  • Fixup for multiple files having the requested variable

0.3.2 (2019-12-18)

  • Bad test fix

0.3.1 (2019-12-18)

  • Fixes a permission error

0.3.0 (2019-12-18)

  • Adds utility to parse compute log and provide some statistics on queuing time and throughput

  • If multiple files have the same variable, ask user which filepattern to use

  • Newest climatology for ECHAM6

0.2.0 (2019-12-17)

  • Asks user to create top level file if it isn’t found

0.1.1 (2019-12-17)

  • Process files in chunks for ECHAM6

0.1.0 (2019-08-09)

  • First release on PyPI.

Metadata

Release files for esm-analysis 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esm-analysis 0.4.2
File Size Uploaded
esm_analysis-0.4.2.tar.gz 38.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esm-analysis 0.4.2
File Interpreter ABI Platform
esm_analysis-0.4.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 73.5 kB

Release files / esm_analysis-0.4.2.tar.gz

Download URL esm_analysis-0.4.2.tar.gz
Size 38.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3223806fa87655e9af50764452bc3d24d5ea6faff3a8a444d0ec7f74e3dbc5dd
BLAKE2b-256 checksum
How to use checksums
9cdf8eef2441cbca6f7e092eb07c23b582e155e3940e1597fca9f16db51263df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.10

Release files / esm_analysis-0.4.2-py2.py3-none-any.whl

Download URL esm_analysis-0.4.2-py2.py3-none-any.whl
Size 35.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
aebaced76812031b7360febfcb567fbdff15cfe48197d7ae83feaf7f0d06f717
BLAKE2b-256 checksum
How to use checksums
6dfca97c8ad6e9358a6224c686a4bd1521242fdc6304b07adf68b9cda51a7b5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.10

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page