Skip to main content

GeoCAT-f2py wraps, in Python, the compiled language implementations of some of the computational functions found under the GeoCAT-comp umbrella.

Project description

CI GitHub Workflow Status GitHub Workflow Status Code Coverage Status
Docs Documentation Status
Package Conda PyPI
License License
Citing DOI

GeoCAT-comp is both the whole computational component of the GeoCAT project and a single Github repository as described in GeoCAT-comp. As the computational component of GeoCAT, GeoCAT-comp provides implementations of computational functions for operating on geosciences data. Many of these functions originated in NCL are pivoted into Python with the help of GeoCAT-comp; however, developers are welcome to come up with novel computational functions for geosciences data.

Many of the computational functions in GeoCAT are implemented in a pure Python fashion. However, there are some others that are implemented in Fortran but wrapped up in Python. To facilitate contribution, the whole GeoCAT-comp structure is split into two repositories with respect to being pure-Python or Python with compiled codes (i.e. Fortran) implementations. While pure Python implementation as well as user API are implemented within GeoCAT-comp, Python codes that calls the Fortran functionality with the help of Numpy's f2py are handled within GeoCAT-f2py (i.e. this repository).

GeoCAT-f2py

GeoCAT-f2py wraps, in Python, the compiled language implementations of some of the computational functions found under the GeoCAT-comp umbrella. The compiled language functions contained in GeoCAT-f2py (i.e. this repository) as Fortran subroutines are wrapped up in corresponding Python wrapper files in the same repository with the help of Numpy.f2py's signature files (.pyf).

Not all computational functions in GeoCAT computational component have compiled language implementations; therefore, developers basing their implementations entirely in Python need not concern themselves with this repo; instead, they should engage with GeoCAT-comp repo as it invisibly imports GeoCAT-f2py. However, for those functions that are implemented in Fortran, this repo provides a Python interface to those functions via a Numpy.f2py wrapper.

Documentation

GeoCAT Homepage

GeoCAT Contributor's Guide

GeoCAT-comp documentation on Read the Docs

Installation and build instructions

Please see our documentation for installation and build instructions.

Xarray interface vs NumPy interface

GeoCAT-f2py provides a high-level Xarray interface under the geocat.f2py namespace. However, a stripped-down NumPy interface is used under the hood to bridge the gap between NumPy arrays and the compiled language data structures. These functions are accessible under the geocat.comp.f2py namespace, but are minimally documented and are intended primarily for internal use.

Citing GeoCAT-f2py

NOTE: If you used GeoCAT-f2py through GeoCAT-comp, it is recommended that you cite GeoCAT-comp. Please refer to GeoCAT-comp README for that purpose or GeoCAT Citation page for general information about citing GeoCAT software packages.

Hiwever, if you used GeoCAT-f2py as a standalomne software tool, cite GeoCAT-f2py using the following text:

<> Visualization & Analysis Systems Technologies. (Year). Geoscience Community Analysis Toolkit (GeoCAT-f2py version <version>) [Software]. Boulder, CO: UCAR/NCAR - Computational and Informational System Lab. doi:10.5065/A8PP-4358.

Update the GeoCAT-f2py version and year as appropriate. For example:

<> Visualization & Analysis Systems Technologies. (2021). Geoscience Community Analysis Toolkit (GeoCAT-f2py version 2021.04.0) [Software]. Boulder, CO: UCAR/NCAR - Computational and Informational System Lab. doi:10.5065/A8PP-4358.

For further information, please refer to GeoCAT homepage - Citation.

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

geocat.f2py-2021.7.1.tar.gz (482.4 kB view details)

Uploaded Source

Built Distribution

geocat.f2py-2021.7.1-py3-none-any.whl (581.9 kB view details)

Uploaded Python 3

File details

Details for the file geocat.f2py-2021.7.1.tar.gz.

File metadata

  • Download URL: geocat.f2py-2021.7.1.tar.gz
  • Upload date:
  • Size: 482.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for geocat.f2py-2021.7.1.tar.gz
Algorithm Hash digest
SHA256 08c942507d1ef6d33d6fa963d8707d30623972965ccc9202b190d96c067f8d62
MD5 065f00d47ab9933e4cfba55c06ae765d
BLAKE2b-256 44dc300bbbaba9ea09294f4145bc66dcebf4c8acdd1b8e12fe821cfa2b524686

See more details on using hashes here.

Provenance

File details

Details for the file geocat.f2py-2021.7.1-py3-none-any.whl.

File metadata

  • Download URL: geocat.f2py-2021.7.1-py3-none-any.whl
  • Upload date:
  • Size: 581.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for geocat.f2py-2021.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa746fc344d569f8aa805e6b4269642363606b0acdce9be271e76cb965017990
MD5 5a5436733f303acbae661503fa39bcaf
BLAKE2b-256 cea8fb172ccca6b3cced3bf7a94c2bbdd759aa8b6ff1a21395c12256b3e77899

See more details on using hashes here.

Provenance

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