Skip to main content

Analysis Scripts for ESM Simulations

Project description

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.

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

esm_analysis-0.4.2.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

esm_analysis-0.4.2-py2.py3-none-any.whl (35.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file esm_analysis-0.4.2.tar.gz.

File metadata

  • Download URL: esm_analysis-0.4.2.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for esm_analysis-0.4.2.tar.gz
Algorithm Hash digest
SHA256 3223806fa87655e9af50764452bc3d24d5ea6faff3a8a444d0ec7f74e3dbc5dd
MD5 8cd0a41e540227cb870f398476955faf
BLAKE2b-256 9cdf8eef2441cbca6f7e092eb07c23b582e155e3940e1597fca9f16db51263df

See more details on using hashes here.

File details

Details for the file esm_analysis-0.4.2-py2.py3-none-any.whl.

File metadata

  • Download URL: esm_analysis-0.4.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for esm_analysis-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aebaced76812031b7360febfcb567fbdff15cfe48197d7ae83feaf7f0d06f717
MD5 96978f95fe97edaf8d66fe293142def2
BLAKE2b-256 6dfca97c8ad6e9358a6224c686a4bd1521242fdc6304b07adf68b9cda51a7b5e

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