Skip to main content

statistics and util package for METplus

Project description

METcalcpy

Provides libraries for the following: calculation of statistics, pre-processing input, and performing diagnostics for METviewer, METexpress, and the plotting scripts in METplotpy.

Please see the METcalcpy User's Guide for more information.

Support for the METplus components is provided through the METplus Discussions forum. Users are welcome and encouraged to answer or address each other's questions there! For more information, please read "Welcome to the METplus Components Discussions".

For information about the support provided for releases, see our Release Support Policy.

Instructions for installing the metcalcpy package locally

  • activate your conda environment (i.e. 'conda activate your-conda-env-name')

  • from within your active conda environment, cd to the METcalcpy/ directory, where you will see the setup.py script

  • from this directory, run the following on the command line: pip install -e .

  • the -e option stands for editable, which is useful in that you can update your METcalcpy/metcalcpy source without reinstalling it

  • the . indicates that you should search the current directory for the setup.py script

  • use metcalcpy package via import statement:

    • Examples:

      • import metcalcpy.util.ctc_statistics as cstats
        • to use the functions in the ctc_statistics module

Instructions for installing the metcalcpy package from PyPI

  • activate your Python 3.10+ conda environment
  • run the following from the command line:
    • pip install metcalcpy==x.y.z where x.y.z is the version number of interest

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

metcalcpy-2.1.tar.gz (157.2 kB view hashes)

Uploaded Source

Built Distribution

metcalcpy-2.1-py3-none-any.whl (204.5 kB view hashes)

Uploaded Python 3

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