{ "info": { "author": "Kyle Wilcox", "author_email": "kyle@axiomdatascience.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: Scientific/Engineering" ], "description": "# wera2netcdf [![Build Status](https://travis-ci.org/axiom-data-science/wera2netcdf.svg?branch=master)](https://travis-ci.org/axiom-data-science/wera2netcdf)\n\nConverting WERA Total ASCII files (the final total current speed and direction\nof the combined radial data) into CF NetCDF files.\n\n## Installation\n\n```\n# pip\n$ pip install wera2netcdf\n\n# conda\n$ conda install -c ioos wera2netcdf\n```\n\n## Usage\n\n```python\nIn [1]: from wera2netcdf import WeraAsciiTotals\nIn [2]: w = WeraAsciiTotals('totals.txt')\nIn [3]: w.is_valid()\nOut[3]: True\n\n# Pandas dataframe of the data\nIn [4]: w.data.head()\nOut[4]:\n IX IY U[m/s] V[m/s] KL Acc_U[m/s] Acc_V[m/s]\n0 68 70 0.000 0.000 0 0.035 0.117\n1 69 107 0.014 -0.103 0 0.051 0.095\n2 69 108 0.012 -0.097 0 0.050 0.098\n3 69 109 0.009 -0.104 0 0.051 0.102\n4 70 102 0.035 -0.093 0 0.048 0.087\n\n# Export to netCDF file\nIn [5]: w.export('out.nc')\n\nIn [6]: import netCDF4\nIn [7]: netCDF4.Dataset('out.nc').variables\nOut[7]:\nOrderedDict([('time', \n int64 time(time)\n _FillValue: -999\n units: seconds since 1970-01-01 00:00:00\n standard_name: time\n calendar: gregorian\n long_name: time\n unlimited dimensions:\n current shape = (1,)\n filling on),\n\n ('lat', \n float64 lat(x, y)\n _FillValue: -999.9\n units: degrees_north\n standard_name: latitude\n axis: Y\n long_name: latitude\n unlimited dimensions:\n current shape = (130, 210)\n filling on),\n\n ('lon', \n float64 lon(x, y)\n _FillValue: -999.9\n units: degrees_east\n standard_name: longitude\n axis: X\n long_name: longitude\n unlimited dimensions:\n current shape = (130, 210)\n filling on),\n\n ('z', \n int64 z(z)\n _FillValue: -999\n units: m\n standard_name: depth\n positive: down\n axis: Z\n long_name: depth\n unlimited dimensions:\n current shape = (1,)\n filling on),\n\n ('u', \n float64 u(time, x, y)\n _FillValue: -999.9\n standard_name: eastward_sea_water_velocity\n long_name: Eastward Surface Current (m/s)\n units: m/s\n coordinates: time lon lat\n unlimited dimensions:\n current shape = (1, 130, 210)\n filling on),\n\n ('uacc', \n float64 uacc(time, x, y)\n _FillValue: -999.9\n standard_name: eastward_sea_water_velocity_accuracy\n long_name: Eastward Surface Current Accuracy (m/s)\n units: m/s\n coordinates: time lon lat\n unlimited dimensions:\n current shape = (1, 130, 210)\n filling on),\n\n ('v', \n float64 v(time, x, y)\n _FillValue: -999.9\n standard_name: northward_sea_water_velocity\n long_name: Northward Surface Current (m/s)\n units: m/s\n coordinates: time lon lat\n unlimited dimensions:\n current shape = (1, 130, 210)\n filling on),\n\n ('vacc', \n float64 vacc(time, x, y)\n _FillValue: -999.9\n standard_name: northward_sea_water_velocity_accuracy\n long_name: Northward Surface Current Accuracy (m/s)\n units: m/s\n coordinates: time lon lat\n unlimited dimensions:\n current shape = (1, 130, 210)\n filling on),\n\n ('crs', \n int32 crs()\n long_name: http://www.opengis.net/def/crs/EPSG/0/4326\n grid_mapping_name: latitude_longitude\n epsg_code: EPSG:4326\n inverse_flattening: 298.257223563\n semi_major_axis: 6378137.0\n unlimited dimensions:\n current shape = ()\n filling on, default _FillValue of -2147483647 used)\n])\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/axiom-data-science/wera2netcdf", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "wera2netcdf", "package_url": "https://pypi.org/project/wera2netcdf/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wera2netcdf/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/axiom-data-science/wera2netcdf" }, "release_url": "https://pypi.org/project/wera2netcdf/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "A utility to convert WERA total ASCII files into CF NetCDF files.", "version": "0.0.4" }, "last_serial": 1962014, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "beb3bd457aebe6fa3d3b64cd2d0c0cbf", "sha256": "c00718104c8bff44db10c7faea1ac3c4f45154fb91e32e7292167fe9f7829d64" }, "downloads": -1, "filename": "wera2netcdf-0.0.1.tar.gz", "has_sig": false, "md5_digest": "beb3bd457aebe6fa3d3b64cd2d0c0cbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5769, "upload_time": "2015-11-24T20:25:20", "url": "https://files.pythonhosted.org/packages/9e/43/1d865bc0dc855e88fca6644acfd09ae5b299a31fb3cf9c2fd0339d1d6e7c/wera2netcdf-0.0.1.tar.gz" } ], "0.0.1-dev": [ { "comment_text": "", "digests": { "md5": "7f34a0c734bda0f1f25b525003fdbdf1", "sha256": "1d5e8387d4ba87e3ebcf27eddf120471f99e8cb66eb2b12a547493d0071d3576" }, "downloads": -1, "filename": "wera2netcdf-0.0.1-dev.tar.gz", "has_sig": false, "md5_digest": "7f34a0c734bda0f1f25b525003fdbdf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5778, "upload_time": "2015-11-24T20:24:39", "url": "https://files.pythonhosted.org/packages/5b/dd/c4ebd319ae94c13e29f29eee97a02eb5d13edbcec92f8c5f2f206c54e822/wera2netcdf-0.0.1-dev.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "1970a907d222905c262619d420cc4f8f", "sha256": "80b2c744b855aa72673c5556cd54027223f400c6b142a962c4a00b55f0fa74d1" }, "downloads": -1, "filename": "wera2netcdf-0.0.3.tar.gz", "has_sig": false, "md5_digest": "1970a907d222905c262619d420cc4f8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6418, "upload_time": "2016-02-15T18:07:21", "url": "https://files.pythonhosted.org/packages/6f/c7/38463f28775005f7e3f90404db3b8b6c78c8b64873164f8ff4fcd5950ed2/wera2netcdf-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "e0e34c8477c849d0aea9b64b04ff1395", "sha256": "85166a119a1529b7cbbf50b2f25a10369826ad3527f8549dcd95a83ac2b331d8" }, "downloads": -1, "filename": "wera2netcdf-0.0.4.tar.gz", "has_sig": false, "md5_digest": "e0e34c8477c849d0aea9b64b04ff1395", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6838, "upload_time": "2016-02-17T20:11:12", "url": "https://files.pythonhosted.org/packages/0a/d7/a6904cdb9678671455b1515d76dfdc0f0dbb06daa15645595b2e3145087b/wera2netcdf-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e0e34c8477c849d0aea9b64b04ff1395", "sha256": "85166a119a1529b7cbbf50b2f25a10369826ad3527f8549dcd95a83ac2b331d8" }, "downloads": -1, "filename": "wera2netcdf-0.0.4.tar.gz", "has_sig": false, "md5_digest": "e0e34c8477c849d0aea9b64b04ff1395", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6838, "upload_time": "2016-02-17T20:11:12", "url": "https://files.pythonhosted.org/packages/0a/d7/a6904cdb9678671455b1515d76dfdc0f0dbb06daa15645595b2e3145087b/wera2netcdf-0.0.4.tar.gz" } ] }