Skip to main content

This package provides python bindings to the atmospheric component of TEOS-10. Also includes expanded metorological quantities like the equivalent potential temperature.

Project description

This package is still in beta testing phase and some of its functions are likely to evolve over time.

Includes:

  • Sea-Ice-Water (SIA) Library 3.0 + simple code fixes (for easy compilation)

  • An extra module layer Liq_Ice_Air_5a.F90, Liq_Ice_Air_5b.F90, Liq_Ice_Air_5c.F90 and Liq_Ice_Air_5d.F90 with the temperature, the entropy, the potential temperature, the equivalent potential temperature and the pseudo equivalent potential temperature valid over the whole region of validity of TEOS-10.

  • Two other extra modules Liq_Air_4d.F90 and Ice_Air_4d.F90 that are very similar to Liq_Air_4b.F90 and Ice_Air_4b.F90 but where one can specify a maximum saturation mass fraction in the definition of the Gibbs function. This allows to compute the equivalent potential temperature in a clean manner.

  • A framework to add python bindings to the Fortran version of TEOS-10 with basic examples.

This package provides a simple way to import the TEOS-10 SIA Library into python. The current beta version offers a very basic interface to the library. Future versions will include a better interface and a more extensive physical description of the different routines available.

NOTE:

This package requires a Fortran 90 compiler. Sometimes numpy.disutils will not find the installed Fortran compiler and will return an error. It this happens, download the source code and run:

$ f2py -c --help-fcompiler

To find the list of available compilers and then compile:

$ python setup.py build --fcompiler=gnu95

if ‘gnu95’ was in the list.

VERSION HISTORY

1.0.4 : New equivalent potential temperature and its approximate version.

1.0.3 : Must compute f2py in setup.py but now using a more portable method.

1.0.1 : Package comes with pre-computed f2py files for easier portability.

1.0 : Important bug fix on PYPI

0.9.5 : Some minimal testing and code publication improvements

0.9.2 : Finished moving netCDF interface to package pyteos_nc

0.9.1 : Moved netCDF interface to package pyteos_nc

0.9 : Improve netCDF interface

0.8 : Fixed a warning signal with missing values

0.7 : The interpolation is now much faster

0.6 : Faster netcdf interface for computing interpolated thermodynamic quantities.

Frederic Laliberte, February 17 2015

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

pyteos_air-1.0.4.tar.gz (260.8 kB view details)

Uploaded Source

File details

Details for the file pyteos_air-1.0.4.tar.gz.

File metadata

  • Download URL: pyteos_air-1.0.4.tar.gz
  • Upload date:
  • Size: 260.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyteos_air-1.0.4.tar.gz
Algorithm Hash digest
SHA256 c7a330c414f6707e4d0bfb0b43be96a0dbbc8c1adbc091f48f0bcf49629c089b
MD5 001c75fdb49c74c27949975b66c38083
BLAKE2b-256 ab764624b3c08a381e0513c579235c3ddc96f8ac77a1bf1f98289aa10f7f50a9

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