cf-python


Namecf-python JSON
Version 3.16.2 PyPI version JSON
download
home_pagehttps://ncas-cms.github.io/cf-python
SummaryA CF-compliant earth science data analysis library
upload_time2024-04-26 22:48:40
maintainerDavid Hassell, Sadie Bartholomew
docs_urlNone
authorDavid Hassell
requires_python>=3.8
licenseMIT
keywords cf netcdf um data science oceanography meteorology climate
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
CF Python
=========

The Python cf package is an Earth science data analysis library that
is built on a complete implementation of the `CF data
model <https://cfconventions.org/cf-conventions/cf-conventions.html#appendix-CF-data-model>`_.

Documentation
=============

http://ncas-cms.github.io/cf-python

Dask
====

From version 3.14.0, the ``cf`` package uses `Dask
<https://docs.dask.org>`_ for all of its data manipulations.

Recipes
=======

https://ncas-cms.github.io/cf-python/recipes

Tutorial
========

https://ncas-cms.github.io/cf-python/tutorial

Installation
============

http://ncas-cms.github.io/cf-python/installation

Command line utilities
======================

During installation the ``cfa`` command line utility is also
installed, which

* generates text descriptions of field constructs contained in files,
  and

* creates new datasets aggregated from existing files.

Visualization
=============

Powerful, flexible, and very simple to produce visualizations of field
constructs are available with the
[cfplot](http://ajheaps.github.io/cf-plot) package, that needs to be
installed seprately to the ``cf`` package.

See the `cfplot gallery
<http://ajheaps.github.io/cf-plot/gallery.html>`_ for the full range
of plotting possibilities with example code.

Functionality
=============

The ``cf`` package implements the `CF data model
<https://cfconventions.org/cf-conventions/cf-conventions.html#appendix-CF-data-model>`_
for its internal data structures and so is able to process any
CF-compliant dataset. It is not strict about CF-compliance, however,
so that partially conformant datasets may be ingested from existing
datasets and written to new datasets. This is so that datasets which
are partially conformant may nonetheless be modified in memory.

The ``cf`` package can:

* read field constructs from netCDF, CDL, PP and UM datasets,

* create new field constructs in memory,

* write and append field constructs to netCDF datasets on disk,

* read, write, and create coordinates defined by geometry cells,

* read netCDF and CDL datasets containing hierarchical groups,

* inspect field constructs,

* test whether two field constructs are the same,

* modify field construct metadata and data,

* create subspaces of field constructs,

* write field constructs to netCDF datasets on disk,

* incorporate, and create, metadata stored in external files,

* read, write, and create data that have been compressed by convention
  (i.e. ragged or gathered arrays, or coordinate arrays compressed by
  subsampling), whilst presenting a view of the data in its
  uncompressed form,

* combine field constructs arithmetically,

* manipulate field construct data by arithmetical and trigonometrical
  operations,

* perform statistical collapses on field constructs,

* perform histogram, percentile and binning operations on field
  constructs,

* regrid structured grid, mesh and DSG field constructs with
  (multi-)linear, nearest neighbour, first- and second-order
  conservative and higher order patch recovery methods, including 3-d
  regridding,

* apply convolution filters to field constructs,

* create running means from field constructs,

* apply differential operators to field constructs,

* create derived quantities (such as relative vorticity).


            

Raw data

            {
    "_id": null,
    "home_page": "https://ncas-cms.github.io/cf-python",
    "name": "cf-python",
    "maintainer": "David Hassell, Sadie Bartholomew",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "david.hassell@ncas.ac.uk, sadie.bartholomew@ncas.ac.uk",
    "keywords": "cf, netcdf, UM, data, science, oceanography, meteorology, climate",
    "author": "David Hassell",
    "author_email": "david.hassell@ncas.ac.uk",
    "download_url": "https://files.pythonhosted.org/packages/1a/64/f6909650e1ff9686e3b2c49ce02afc82384b388e71c2dab9bf6ecac7d22e/cf-python-3.16.2.tar.gz",
    "platform": "Linux",
    "description": "\nCF Python\n=========\n\nThe Python cf package is an Earth science data analysis library that\nis built on a complete implementation of the `CF data\nmodel <https://cfconventions.org/cf-conventions/cf-conventions.html#appendix-CF-data-model>`_.\n\nDocumentation\n=============\n\nhttp://ncas-cms.github.io/cf-python\n\nDask\n====\n\nFrom version 3.14.0, the ``cf`` package uses `Dask\n<https://docs.dask.org>`_ for all of its data manipulations.\n\nRecipes\n=======\n\nhttps://ncas-cms.github.io/cf-python/recipes\n\nTutorial\n========\n\nhttps://ncas-cms.github.io/cf-python/tutorial\n\nInstallation\n============\n\nhttp://ncas-cms.github.io/cf-python/installation\n\nCommand line utilities\n======================\n\nDuring installation the ``cfa`` command line utility is also\ninstalled, which\n\n* generates text descriptions of field constructs contained in files,\n  and\n\n* creates new datasets aggregated from existing files.\n\nVisualization\n=============\n\nPowerful, flexible, and very simple to produce visualizations of field\nconstructs are available with the\n[cfplot](http://ajheaps.github.io/cf-plot) package, that needs to be\ninstalled seprately to the ``cf`` package.\n\nSee the `cfplot gallery\n<http://ajheaps.github.io/cf-plot/gallery.html>`_ for the full range\nof plotting possibilities with example code.\n\nFunctionality\n=============\n\nThe ``cf`` package implements the `CF data model\n<https://cfconventions.org/cf-conventions/cf-conventions.html#appendix-CF-data-model>`_\nfor its internal data structures and so is able to process any\nCF-compliant dataset. It is not strict about CF-compliance, however,\nso that partially conformant datasets may be ingested from existing\ndatasets and written to new datasets. This is so that datasets which\nare partially conformant may nonetheless be modified in memory.\n\nThe ``cf`` package can:\n\n* read field constructs from netCDF, CDL, PP and UM datasets,\n\n* create new field constructs in memory,\n\n* write and append field constructs to netCDF datasets on disk,\n\n* read, write, and create coordinates defined by geometry cells,\n\n* read netCDF and CDL datasets containing hierarchical groups,\n\n* inspect field constructs,\n\n* test whether two field constructs are the same,\n\n* modify field construct metadata and data,\n\n* create subspaces of field constructs,\n\n* write field constructs to netCDF datasets on disk,\n\n* incorporate, and create, metadata stored in external files,\n\n* read, write, and create data that have been compressed by convention\n  (i.e. ragged or gathered arrays, or coordinate arrays compressed by\n  subsampling), whilst presenting a view of the data in its\n  uncompressed form,\n\n* combine field constructs arithmetically,\n\n* manipulate field construct data by arithmetical and trigonometrical\n  operations,\n\n* perform statistical collapses on field constructs,\n\n* perform histogram, percentile and binning operations on field\n  constructs,\n\n* regrid structured grid, mesh and DSG field constructs with\n  (multi-)linear, nearest neighbour, first- and second-order\n  conservative and higher order patch recovery methods, including 3-d\n  regridding,\n\n* apply convolution filters to field constructs,\n\n* create running means from field constructs,\n\n* apply differential operators to field constructs,\n\n* create derived quantities (such as relative vorticity).\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A CF-compliant earth science data analysis library",
    "version": "3.16.2",
    "project_urls": {
        "Homepage": "https://ncas-cms.github.io/cf-python"
    },
    "split_keywords": [
        "cf",
        " netcdf",
        " um",
        " data",
        " science",
        " oceanography",
        " meteorology",
        " climate"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a64f6909650e1ff9686e3b2c49ce02afc82384b388e71c2dab9bf6ecac7d22e",
                "md5": "2ff1e5b3a26ce2f7dc20807b8d91a276",
                "sha256": "be3e6e79cc1a21a0b5c6a259087ee63ae0e39e0adbeee662cf8a6c079c597d49"
            },
            "downloads": -1,
            "filename": "cf-python-3.16.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2ff1e5b3a26ce2f7dc20807b8d91a276",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 1598434,
            "upload_time": "2024-04-26T22:48:40",
            "upload_time_iso_8601": "2024-04-26T22:48:40.432935Z",
            "url": "https://files.pythonhosted.org/packages/1a/64/f6909650e1ff9686e3b2c49ce02afc82384b388e71c2dab9bf6ecac7d22e/cf-python-3.16.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 22:48:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cf-python"
}
        
Elapsed time: 0.25586s