pysat


Namepysat JSON
Version 3.2.1 PyPI version JSON
download
home_pageNone
SummarySupports science analysis across disparate data platforms
upload_time2024-10-03 23:01:29
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseCopyright (c) 2016, Russell Stoneback All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of pysat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords pysat ionosphere atmosphere thermosphere magnetosphere heliosphere observations models space satellites analysis
VCS
bugtrack_url
requirements dask netCDF4 numpy pandas portalocker pytest scipy toolz xarray
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
        <img height="0" width="0px">
        <img width="20%" src="https://raw.githubusercontent.com/pysat/pysat/main/docs/images/logo.png" alt="The pysat logo: A snake orbiting a blue sphere" title="pysat"</img>
</div>

# pysat: Python Satellite Data Analysis Toolkit
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pysat)
[![PyPI Package latest release](https://img.shields.io/pypi/v/pysat.svg)](https://pypi.python.org/pypi/pysat)
[![Build Status](https://github.com/pysat/pysat/actions/workflows/main.yml/badge.svg)](https://github.com/pysat/pysat/actions/workflows/main.yml/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/pysat/badge/?version=latest)](http://pysat.readthedocs.io/en/latest/?badge=latest)
[![Coverage Status](https://coveralls.io/repos/github/pysat/pysat/badge.svg?branch=main)](https://coveralls.io/github/pysat/pysat?branch=main)
[![DOI](https://zenodo.org/badge/33449914.svg)](https://zenodo.org/badge/latestdoi/33449914)

The Python Satellite Data Analysis Toolkit (pysat) provides a simple and
flexible interface for robust data analysis from beginning to end - including
downloading, loading, cleaning, managing, processing, and analyzing data.
Pysat's plug-in design allows analysis support for any data, including user
provided data sets. The pysat team provides a variety of plug-ins to support
public scientific data sets in packages such as pysatNASA, pysatMadrigal, and
more, available as part of the general [pysat ecosystem](https://github.com/pysat).

Full [Documentation](http://pysat.readthedocs.io/en/latest/index.html)

JGR-Space Physics [Publication](https://doi.org/10.1029/2018JA025297)

Pysat Ecosystem [Publication](https://www.frontiersin.org/articles/10.3389/fspas.2023.1119775/full)

[Citation Info](https://pysat.readthedocs.io/en/latest/citing.html)

Come join us on Slack! An invitation to the pysat workspace is available
in the 'About' section of the
[pysat GitHub Repository.](https://github.com/pysat/pysat)
Development meetings are generally held fortnightly.

# Main Features
* Instrument independent analysis routines.
* Instrument object providing an interface for downloading and analyzing a wide
  variety of science data sets.
  * Uses pandas or xarray for the underlying data structure;
    capable of handling the many forms scientific measurements take in a
    consistent manner.
  * Standard scientific data handling tasks (e.g., identifying, downloading,
    and loading files and cleaning and modifying data) are built into the
    Instrument object.
  * Supports metadata consistent with the netCDF CF-1.6 standard. Each variable
    has a name, long name, and units. Note units are informational only.
* Simplifies data management
  * Iterator support for loading data by day/file/orbit, independent of data
    storage details.
  * Orbits are calculated on the fly from loaded data and span day breaks.
  * Iterate over custom seasons
* Supports rigorous time-series calculations that require spin up/down time
  across day, orbit, and file breaks.
* Includes helper functions to reduce the barrier in adding new science
  instruments to pysat

# Installation

The following instructions provide a guide for installing pysat and give some
examples on how to use the routines.

## Prerequisites

pysat uses common Python modules, as well as modules developed by and for the
Space Physics community.  This module officially supports Python 3.X+.

| Common modules | Community modules |
| -------------- | ----------------- |
| dask           | netCDF4           |
| numpy >= 1.12  |                   |
| pandas         |                   |
| portalocker    |                   |
| pytest         |                   |
| scipy          |                   |
| toolz          |                   |
| xarray         |                   |


## PyPi Installation
```
pip install pysat
```
Note that while support for python 3.6 is maintained for opertional purposes, there 
have been issues with installing through PyPi on older systems. Installation through 
GitHub is recommended for older systems.

## GitHub Installation
```
git clone https://github.com/pysat/pysat.git
```

Change directories into the repository folder and run the pyproject.toml or
setup.py file.  For a local install use the "--user" flag after "install".

```
cd pysat/
python -m build .
pip install .
```

# Using pysat

* The first time pysat is run, you will need to specify a directory to store
  the data. In Python, run:
```
pysat.params['data_dirs'] = 'path/to/directory/that/may/or/may/not/exist'
```
  * Nominal organization of data is top_dir/platform/name/tag/inst_id/files

Detailed examples and tutorials for using pysat are available in the
[documentation](http://pysat.readthedocs.io/en/latest/index.html).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pysat",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "pysat, ionosphere, atmosphere, thermosphere, magnetosphere, heliosphere, observations, models, space, satellites, analysis",
    "author": null,
    "author_email": "\"Russell Stoneback, et al.\" <pysat.developers@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e6/1c/d33b8cac4ebc892a6bd29922190929d1402858b353539311a5f33f340c25/pysat-3.2.1.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n        <img height=\"0\" width=\"0px\">\n        <img width=\"20%\" src=\"https://raw.githubusercontent.com/pysat/pysat/main/docs/images/logo.png\" alt=\"The pysat logo: A snake orbiting a blue sphere\" title=\"pysat\"</img>\n</div>\n\n# pysat: Python Satellite Data Analysis Toolkit\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pysat)\n[![PyPI Package latest release](https://img.shields.io/pypi/v/pysat.svg)](https://pypi.python.org/pypi/pysat)\n[![Build Status](https://github.com/pysat/pysat/actions/workflows/main.yml/badge.svg)](https://github.com/pysat/pysat/actions/workflows/main.yml/badge.svg)\n[![Documentation Status](https://readthedocs.org/projects/pysat/badge/?version=latest)](http://pysat.readthedocs.io/en/latest/?badge=latest)\n[![Coverage Status](https://coveralls.io/repos/github/pysat/pysat/badge.svg?branch=main)](https://coveralls.io/github/pysat/pysat?branch=main)\n[![DOI](https://zenodo.org/badge/33449914.svg)](https://zenodo.org/badge/latestdoi/33449914)\n\nThe Python Satellite Data Analysis Toolkit (pysat) provides a simple and\nflexible interface for robust data analysis from beginning to end - including\ndownloading, loading, cleaning, managing, processing, and analyzing data.\nPysat's plug-in design allows analysis support for any data, including user\nprovided data sets. The pysat team provides a variety of plug-ins to support\npublic scientific data sets in packages such as pysatNASA, pysatMadrigal, and\nmore, available as part of the general [pysat ecosystem](https://github.com/pysat).\n\nFull [Documentation](http://pysat.readthedocs.io/en/latest/index.html)\n\nJGR-Space Physics [Publication](https://doi.org/10.1029/2018JA025297)\n\nPysat Ecosystem [Publication](https://www.frontiersin.org/articles/10.3389/fspas.2023.1119775/full)\n\n[Citation Info](https://pysat.readthedocs.io/en/latest/citing.html)\n\nCome join us on Slack! An invitation to the pysat workspace is available\nin the 'About' section of the\n[pysat GitHub Repository.](https://github.com/pysat/pysat)\nDevelopment meetings are generally held fortnightly.\n\n# Main Features\n* Instrument independent analysis routines.\n* Instrument object providing an interface for downloading and analyzing a wide\n  variety of science data sets.\n  * Uses pandas or xarray for the underlying data structure;\n    capable of handling the many forms scientific measurements take in a\n    consistent manner.\n  * Standard scientific data handling tasks (e.g., identifying, downloading,\n    and loading files and cleaning and modifying data) are built into the\n    Instrument object.\n  * Supports metadata consistent with the netCDF CF-1.6 standard. Each variable\n    has a name, long name, and units. Note units are informational only.\n* Simplifies data management\n  * Iterator support for loading data by day/file/orbit, independent of data\n    storage details.\n  * Orbits are calculated on the fly from loaded data and span day breaks.\n  * Iterate over custom seasons\n* Supports rigorous time-series calculations that require spin up/down time\n  across day, orbit, and file breaks.\n* Includes helper functions to reduce the barrier in adding new science\n  instruments to pysat\n\n# Installation\n\nThe following instructions provide a guide for installing pysat and give some\nexamples on how to use the routines.\n\n## Prerequisites\n\npysat uses common Python modules, as well as modules developed by and for the\nSpace Physics community.  This module officially supports Python 3.X+.\n\n| Common modules | Community modules |\n| -------------- | ----------------- |\n| dask           | netCDF4           |\n| numpy >= 1.12  |                   |\n| pandas         |                   |\n| portalocker    |                   |\n| pytest         |                   |\n| scipy          |                   |\n| toolz          |                   |\n| xarray         |                   |\n\n\n## PyPi Installation\n```\npip install pysat\n```\nNote that while support for python 3.6 is maintained for opertional purposes, there \nhave been issues with installing through PyPi on older systems. Installation through \nGitHub is recommended for older systems.\n\n## GitHub Installation\n```\ngit clone https://github.com/pysat/pysat.git\n```\n\nChange directories into the repository folder and run the pyproject.toml or\nsetup.py file.  For a local install use the \"--user\" flag after \"install\".\n\n```\ncd pysat/\npython -m build .\npip install .\n```\n\n# Using pysat\n\n* The first time pysat is run, you will need to specify a directory to store\n  the data. In Python, run:\n```\npysat.params['data_dirs'] = 'path/to/directory/that/may/or/may/not/exist'\n```\n  * Nominal organization of data is top_dir/platform/name/tag/inst_id/files\n\nDetailed examples and tutorials for using pysat are available in the\n[documentation](http://pysat.readthedocs.io/en/latest/index.html).\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2016, Russell Stoneback All rights reserved.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  * Neither the name of pysat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  ",
    "summary": "Supports science analysis across disparate data platforms",
    "version": "3.2.1",
    "project_urls": {
        "Documentation": "https://pysat.readthedocs.io/en/latest/",
        "Source": "https://github.com/pysat/pysat"
    },
    "split_keywords": [
        "pysat",
        " ionosphere",
        " atmosphere",
        " thermosphere",
        " magnetosphere",
        " heliosphere",
        " observations",
        " models",
        " space",
        " satellites",
        " analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e61cd33b8cac4ebc892a6bd29922190929d1402858b353539311a5f33f340c25",
                "md5": "3e25a0c24310d9c65e576088f2e5a31c",
                "sha256": "486a024c715446c50ffec1fee16a82902a84c692ff5459bbec6a086ca0e54548"
            },
            "downloads": -1,
            "filename": "pysat-3.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3e25a0c24310d9c65e576088f2e5a31c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 289674,
            "upload_time": "2024-10-03T23:01:29",
            "upload_time_iso_8601": "2024-10-03T23:01:29.715429Z",
            "url": "https://files.pythonhosted.org/packages/e6/1c/d33b8cac4ebc892a6bd29922190929d1402858b353539311a5f33f340c25/pysat-3.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-03 23:01:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pysat",
    "github_project": "pysat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "dask",
            "specs": []
        },
        {
            "name": "netCDF4",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "1.12"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": []
        },
        {
            "name": "portalocker",
            "specs": []
        },
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "scipy",
            "specs": []
        },
        {
            "name": "toolz",
            "specs": []
        },
        {
            "name": "xarray",
            "specs": []
        }
    ],
    "test_requirements": [
        {
            "name": "flake8",
            "specs": []
        },
        {
            "name": "flake8-docstrings",
            "specs": []
        },
        {
            "name": "hacking",
            "specs": [
                [
                    ">=",
                    "1.0"
                ]
            ]
        },
        {
            "name": "ipython",
            "specs": []
        },
        {
            "name": "m2r2",
            "specs": []
        },
        {
            "name": "numpydoc",
            "specs": []
        },
        {
            "name": "pysatSpaceWeather",
            "specs": [
                [
                    "<",
                    "0.1.0"
                ]
            ]
        },
        {
            "name": "pytest-cov",
            "specs": []
        },
        {
            "name": "pytest-ordering",
            "specs": []
        },
        {
            "name": "readthedocs-sphinx-search",
            "specs": [
                [
                    "==",
                    "0.3.2"
                ]
            ]
        },
        {
            "name": "sphinx",
            "specs": []
        },
        {
            "name": "sphinx_rtd_theme",
            "specs": [
                [
                    ">=",
                    "1.2.2"
                ],
                [
                    "<",
                    "2.0.0"
                ]
            ]
        }
    ],
    "lcname": "pysat"
}
        
Elapsed time: 0.43846s