{ "info": { "author": "Zhiyu/Drew Li", "author_email": "zyli2004@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Subset National Water Model (NWM) NetCDF\n========================================\n\nNWM Updates:\n\nv1.2\n\nNational Water Model (NWM) Ver1.2 has been in production since UTC time\n16:00 March 6, 2018\n\nDetails about changes in v1.2:\nhttp://www.nws.noaa.gov/om/notification/scn18-16national\\_water\\_model.htm\n\nv1.1\n\nNational Water Model (NWM) Ver1.1 has been in production since UTC time\n12PM May 8, 2017\n\nDetails about changes in v1.1:\nhttp://www.nws.noaa.gov/os/notification/scn17-41natl\\_water\\_modelaaa.htm\n\nWhat is NWM\n-----------\n\nNWM's daily output is about 430GB worth of NetCDF files that contain\nmeteorological and hydrologic data/forecasts covers the whole U.S. This\npython library enables users to subset NWM Ver1.1 NetCDF using a polygon\nthat represents a region of interest, which can significantly reduce\ndata storage size and speed up regional data access.\n\nMore about NWM: http://water.noaa.gov/about/nwm\n\nVersion naming convention:\n--------------------------\n\n\"1.2.X\", say \"1.2.5\", where \"1.2\" means NWM Ver1.2 and \"5\" is the\nversion of this library.\n\nWorkflow:\n---------\n\nuser-provided polygon --> Spatial Query module\\* --> stream comids &\nreservoir comids & grid cell indices (forcing & land & terrain) -->\nSubset module --> Merge module --> regional NetCDF files\n\n\\*: Spatial Query is optional if user directly provides stream comids &\nreservoir comids & grid cells indices\n\nUsage\n-----\n\nSee demo.py in source\n\nThe copy of the resulting NetCDF files of TwoMileCreek watershed can be\nfound at\nhttps://www.hydroshare.org/resource/fa9af1222795490a953292def5852ace/\n\nThe watershed poylgon shapefile is at\n/www.hydroshare.org/resource/9d0e4cab63d74c0b8e6b6d83254c30de/\n\nWhat's new in 1.2.4 ?\n---------------------\n\nFix \"time\" dimension bug in merged netcdf for forecast.\n\nWhat's new in 1.2.3 ?\n---------------------\n\nFurther improve support for NWM 1.2: Automatically subset and merge NWM\n1.1 and NWM 1.2 data separately.\n\nThe 1.2 transition happened at UTC time\n\nAA 20180306 16:00z\n\nSR 20180306 15:00z\n\nMR 20180306 12:00z\n\nLR MEM1 20180306 00:00z\n\nLR MEM2 20180306 12:00z\n\nLR MEM3 20180306 12:00z\n\nLR MEM4 20180306 12:00z\n\nWhat's new in 1.2.1 and 1.2.2 ?\n-------------------------------\n\nUpdate to support NWM 1.2\n\nWhat's new in 1.1.9 ?\n---------------------\n\nThis version has one minor bug fix for National Water Model Viewer\nTethys App. App can subset AA data back to 2017-05-09 (the first\narchived full-day data for NWM Ver1.1)\n\nWhat's new in 1.1.8 ?\n---------------------\n\n1) Improve coordinate projection handling: If shapefile/geojson/wkt user\n provides has a custom projection that SQLite DB doesn't support, use\n GDAL to re-project it to a well-know projection (4326) before spatial\n query\n\n2) Merge multi-day analysis\\_assim subsetting results into one: The\n naming converstion of resulting files:\n nwm.tALLz.analysis\\_assim.{geometry}.tm{tm}.conus.nc {geometry}:\n forcing, channel\\_rt, reservoir, terrain\\_rt, land {tm}: 00, 01, 02\n Daily analysis\\_assim subsetting results will still be kept\n\nWhat's new in 1.1.7 ?\n---------------------\n\n1) Add a new flag \"include\\_AA\\_tm12\" to control whether to subset tm01\n and tm02 files of analysis\\_assim configuration. Default is True\n\n2) fix a bug in spatial query module: If incoming geometry is 3D,\n convert it to 2D before spatial query\n\nWhat's new in 1.1.6 ?\n---------------------\n\n1) Remove previously added \"time\" dimension in \"reference\\_time\"\n variable as it was a violation of CF convention on \"coordinate\n variable\"\"; see:\n http://www.unidata.ucar.edu/software/netcdf/workshops/2011/datamodels/NcCVars.html\n But this change causes missing \"reference\\_time\" value in merged\n netcdfs as it only stores the value from the first file;\n\n2) Fix bug in \"time\\_bounds\" variable;\n\n3) Add \"pyspatialite\" as a optional dependency in spatial query. Will\n try loading pysqlite2 by default, if failed, try loading pyspatialite\n lib. Note: Installation of pyspatialite needs several manual steps on\n linux, but it is so far a good way for CentOS. On Ubuntu and Windows,\n user should install pysqlite2 + mod\\_spatialite binary;\n\nWhat's new in 1.1.5 ?\n---------------------\n\n1) Add two new flags, one for 2D grid file (forcing/land/terrain) and\n one for 1D file (channel/reservoir), to specify whether to keep\n original dimension size unchanged in resulting outputs.\n\n1-1) If True, the sizes of dimension 'x' and 'y' for 2D grid resulting\nfile and 'feature\\_id' for 1D resulting file will be same as their\noriginals; Variables outside subsetting domain will be set to\ncorresponding Missing Data Values.\n\n1-2) If False, the size of above dimension will be shrunk to cover\nsubsetting domain.\n\nNote: keep original dimension unchanged will slightly increase output\nsize for both 1D and 2D files and significantly slow down subsetting\nprocess for 1D file.\n\n2) Add python dependencies to setup.py file.\n\nWhat's new in 1.1.4 ?\n---------------------\n\nUse a new approach to perform spatial query on grid cell indices against\nforcing, land and terrain files; Further improve spatial query speed on\ngrid cells; Further address partially covered grids caused by projection\ndistortion; Deprecate Tiff supporting files. Now the only necessary\nsupporting file is the sqlite/spatialite geodatabase for stream,\nreservoir and HUCs; Remove GDAL; Add pyproj and numpy to dependency\nlist;\n\nWhat's new in 1.1.3 ?\n---------------------\n\n1) Support subsetting more files:\n\n1-1) \"tm01\" and \"tm02\" of each time stamp in analysis\\_assim model\nconfiguration\n\n1-2) the \"terrain\" files in all model configurations\n\n2) speed up spatial query on grid files (forcing, land and terrain)\n using GDAL and further reduce size of supporting files\n\n3) add GDAL as a new dependency\n\nWhat's new in 1.1.2 and 1.1.1?\n------------------------------\n\nFirst two releases\n\nEnvironment and Dependencies:\n-----------------------------\n\nPreliminary functional testings passed with Python 2.7.12 x64 on Windows\n7 x64 and Ubuntu 16.04 x64.\n\nSpatial Query module:\n~~~~~~~~~~~~~~~~~~~~~\n\n1) fiona >= 1.7.5 @ https://pypi.python.org/pypi/Fiona\n\n2) shapely >= 1.5.17 @ https://pypi.python.org/pypi/Shapely/\n\n3) pysqlite >= 2.8.3 with mod\\_spatialite extension @\n https://pypi.python.org/pypi/pysqlite/ and\n https://www.gaia-gis.it/fossil/libspatialite/wiki?name=mod\\_spatialite\n\n4) numpy >= 1.12.1 @ https://pypi.python.org/pypi/numpy\n\n5) GDAL >= 2.1.3 @ https://pypi.python.org/pypi/GDAL/2.1.3\n\n6) spatial query supporting files (1.1.4) @\n https://www.hydroshare.org/resource/23c05d3177654a9ab9dc9023d00d16ed/\n\nSubset & Merge module\n~~~~~~~~~~~~~~~~~~~~~\n\n1) NetCDF utilities >= 4.4 (shell commands) @\n https://www.unidata.ucar.edu/downloads/netcdf/index.jsp\n\n2) NCO >= 4.6.3 (shell commands) @ http://nco.sourceforge.net/\n\n3) numpy >= 1.12.1 @ https://pypi.python.org/pypi/numpy\n\n4) netCDF4 >= 1.2.7 python wrapper for NetCDF4 @\n https://pypi.python.org/pypi/netCDF4\n\n5) sed (shell command): Linux systems include this command by default.\n This lib contains a GNU sed binary for Windows\n\nImplementation inspired by:\n\nhttps://github.com/shawncrawley/subset\\_nwm\\_data\\_scripts\n\nhttps://github.com/twhiteaker/pynwm", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zhiyuli/subset_nwm_netcdf", "keywords": "", "license": "BSD-2", "maintainer": "", "maintainer_email": "", "name": "subset-nwm-netcdf", "package_url": "https://pypi.org/project/subset-nwm-netcdf/", "platform": "", "project_url": "https://pypi.org/project/subset-nwm-netcdf/", "project_urls": { "Homepage": "https://github.com/zhiyuli/subset_nwm_netcdf" }, "release_url": "https://pypi.org/project/subset-nwm-netcdf/1.2.5/", "requires_dist": null, "requires_python": "", "summary": "Subset National Water Model (NWM) NetCDF", "version": "1.2.5" }, "last_serial": 4900392, "releases": { "1.1.1": [ { "comment_text": "", "digests": { "md5": "37de2f04f7b083ec2f7d0582628a54b4", "sha256": "4f44e65044650c35a830bfede9ec9f502000edd222e4471fb0f3666b23c8d0f7" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.1.tar.gz", "has_sig": false, "md5_digest": "37de2f04f7b083ec2f7d0582628a54b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1054162, "upload_time": "2017-03-31T19:43:19", "url": "https://files.pythonhosted.org/packages/14/2b/d5205d81a1b7cc3b269a45473fbe4492056634ecae21b20871fb671a65a7/subset_nwm_netcdf-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "a2d6cbf0435a227a13548c621c94aa5e", "sha256": "0847daf5d13c43f0cdc5f87eb9073e9776577dc74ac40180716700749afdbebf" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.2.tar.gz", "has_sig": false, "md5_digest": "a2d6cbf0435a227a13548c621c94aa5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1056567, "upload_time": "2017-04-03T18:36:31", "url": "https://files.pythonhosted.org/packages/2a/78/d02da399838bf8527f2c6b4e8fc211827991eab59ec5b964975fdcf24c53/subset_nwm_netcdf-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "8d3f98e0c5876033dc496c7c16cd5e99", "sha256": "18b4fa3a3a5aa5b07fc01b603e84e3a3d6fd026b5df408a3a6acf769157ed996" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.3.tar.gz", "has_sig": false, "md5_digest": "8d3f98e0c5876033dc496c7c16cd5e99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1066632, "upload_time": "2017-04-12T23:31:13", "url": "https://files.pythonhosted.org/packages/e8/31/49b6ba7aa1da3114dfaeb9fdd1219c53ed1adcda37304b03aedd986c8c63/subset_nwm_netcdf-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "1c67346e426239fcc7ac5fc36798559a", "sha256": "711ad9c0dec2623e1aae788b753c3cdca6756edf67053d688d4df02130f0d597" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.4.tar.gz", "has_sig": false, "md5_digest": "1c67346e426239fcc7ac5fc36798559a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1092723, "upload_time": "2017-04-24T17:55:29", "url": "https://files.pythonhosted.org/packages/a9/df/d492be7367dc7f75dd58a6028fecabc9bc943b0fecc13499b46fa72ef43f/subset_nwm_netcdf-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "e502e11b0be1e8566b33df9c075da438", "sha256": "2611dbb2ebe4451692f8e0794af65ff63373e5daca8045e309442eea0caf7d15" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.5.tar.gz", "has_sig": false, "md5_digest": "e502e11b0be1e8566b33df9c075da438", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1101644, "upload_time": "2017-05-08T18:59:08", "url": "https://files.pythonhosted.org/packages/49/72/9b1251aa6568a47779789a619954dcc8edb9abddde9a00984e850dd948b1/subset_nwm_netcdf-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "cb06b35b4b473675704f891809fb9c8a", "sha256": "06ee1b5e79cc6504961dbdcfca41139add1820e6cb4c87835502fc4a0e881807" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.6.tar.gz", "has_sig": false, "md5_digest": "cb06b35b4b473675704f891809fb9c8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1102003, "upload_time": "2017-05-12T19:42:57", "url": "https://files.pythonhosted.org/packages/d0/f5/b08d8851d7044ec0c8fdea613c52cdc578fbbd2aa832027b452761998eda/subset_nwm_netcdf-1.1.6.tar.gz" } ], "1.1.7": [ { "comment_text": "", "digests": { "md5": "9739ca84652ef65181c1de396ba83529", "sha256": "0fca3329cd91776d33e847a366071718683f15ae895208903f38b6a88a5268f1" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.7.tar.gz", "has_sig": false, "md5_digest": "9739ca84652ef65181c1de396ba83529", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1102295, "upload_time": "2017-05-17T22:02:00", "url": "https://files.pythonhosted.org/packages/31/22/3311e7d66103de23a63915142a7386f2511255adedfd095ac385934ef89a/subset_nwm_netcdf-1.1.7.tar.gz" } ], "1.1.8": [ { "comment_text": "", "digests": { "md5": "87ba26fd8abc893ac48a52990d6e251b", "sha256": "85daa6268d2e95e67a35a16c633cfcc1d7c66438c95e69114af741f76db7aad4" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.8.tar.gz", "has_sig": false, "md5_digest": "87ba26fd8abc893ac48a52990d6e251b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1145021, "upload_time": "2017-09-26T15:05:16", "url": "https://files.pythonhosted.org/packages/f2/69/b2dc3f54c8a2f77d3c08c1eba97f82d7b75031d433902a4f3a0b9194b2a4/subset_nwm_netcdf-1.1.8.tar.gz" } ], "1.1.9": [ { "comment_text": "", "digests": { "md5": "23d618e1a993d5144c25509cb64083b0", "sha256": "cb661e1cfb7604fa7be876341b386d6af2377d4e021a34aa63e3e1bcf641ad79" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.1.9.tar.gz", "has_sig": false, "md5_digest": "23d618e1a993d5144c25509cb64083b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1145563, "upload_time": "2017-11-13T23:07:01", "url": "https://files.pythonhosted.org/packages/a2/3c/0832f69420475b9fce4e71e5472f9aef48154a4e290111032ac7d1cc18a5/subset_nwm_netcdf-1.1.9.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "bb15b463ef41584890c13a3bad01ab45", "sha256": "fb88f292abd3821a8814a5f7f20da789d5462e3959cd38c393375b3e57011d2e" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.2.2.tar.gz", "has_sig": false, "md5_digest": "bb15b463ef41584890c13a3bad01ab45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1191032, "upload_time": "2018-03-27T23:36:12", "url": "https://files.pythonhosted.org/packages/b3/0d/a1ea29a8afc61752c36933d3bfb7a9b0b3c90b0eb57cdaaa3c11b50fb704/subset_nwm_netcdf-1.2.2.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "99d094d6d3ec0ffa5f7c521d59c72ba5", "sha256": "246ac4b7532c97f8fd6816a85121528ed60e393471f9bac66452f6b240015d1c" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.2.3.tar.gz", "has_sig": false, "md5_digest": "99d094d6d3ec0ffa5f7c521d59c72ba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1192653, "upload_time": "2018-04-10T16:56:53", "url": "https://files.pythonhosted.org/packages/d3/51/322416ebde0344dc682f84e0190a68cfee2c34c6fb8c25fbb7b7694d79cc/subset_nwm_netcdf-1.2.3.tar.gz" } ], "1.2.4": [ { "comment_text": "", "digests": { "md5": "25bfaebfdf0503b0906bc9e6f37e86e8", "sha256": "e848ffeab752dea73caedbcdc36c9da2a2b701f4fca1f10113df2408dfef7da9" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.2.4.tar.gz", "has_sig": false, "md5_digest": "25bfaebfdf0503b0906bc9e6f37e86e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1194228, "upload_time": "2018-04-24T17:54:49", "url": "https://files.pythonhosted.org/packages/ba/b6/6cd38649977b8dd03c23675476287f3ad9da98bf3da1231bdf50272c6c69/subset_nwm_netcdf-1.2.4.tar.gz" } ], "1.2.5": [ { "comment_text": "", "digests": { "md5": "125f01ea2288ab893ee55bc7e662067b", "sha256": "ba98d6a2b0b979640fc993fb1dd958ac0fca750692c3be45101a48a2c1df1985" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.2.5.tar.gz", "has_sig": false, "md5_digest": "125f01ea2288ab893ee55bc7e662067b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1194327, "upload_time": "2019-03-05T15:43:38", "url": "https://files.pythonhosted.org/packages/a8/ec/79f5547d346f0551ba2c5a28c69ba116694edfefeae2dd0538e8faf23dc4/subset_nwm_netcdf-1.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "125f01ea2288ab893ee55bc7e662067b", "sha256": "ba98d6a2b0b979640fc993fb1dd958ac0fca750692c3be45101a48a2c1df1985" }, "downloads": -1, "filename": "subset_nwm_netcdf-1.2.5.tar.gz", "has_sig": false, "md5_digest": "125f01ea2288ab893ee55bc7e662067b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1194327, "upload_time": "2019-03-05T15:43:38", "url": "https://files.pythonhosted.org/packages/a8/ec/79f5547d346f0551ba2c5a28c69ba116694edfefeae2dd0538e8faf23dc4/subset_nwm_netcdf-1.2.5.tar.gz" } ] }