ESM Analysis
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
Command line interface to quickly create common analyses
Python library usage
Free software: GNU General Public License v3
Documentation: https://esm-tools-analysis.readthedocs.io.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| esm_analysis-0.4.2.tar.gz | 38.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|