Generate a 3Di simulation grid from a model schematisation.
Project description
threedigrid-builder
Generate a 3Di simulation grid from a model schematisation.
Installation
This package is distributed as binary only, because its (Fortran) source code is proprietary. The only currently supported platform is Linux.
First install sqlite and spatialite libraries, e.g. on Ubuntu:
$ sudo apt-get install sqlite3 libsqlite3-mod-spatialite
Then install the threedigrid-builder:
$ pip install threedigrid-builder
For output into a file for the 3Di calculationcore, enable gridadmin output:
$ pip install threedigrid-builder[gridadmin]
For output into Geopackage for display in e.g. QGis, enable gpkg output:
$ pip install threedigrid-builder[gpkg]
Usage
The public API of threedigrid_builder can be found in threedigrid_builder.application.
Changelog of threedigrid-builder
0.1.1 (2021-04-20)
Fixed automatic PyPI upload.
0.1.0 (2021-04-20)
Partially ported functionality from inpy (generate 3di files, makegrid): 1D channel grid (including calculation_type and bottom_level), and 2D open water grid.
Added gridadmin and geopackage output.
Breaking change: the interpolation between cross section locations (channels) now also extrapolates for lines and nodes that are not in between two connection nodes. This happens only if the channel has at least 2 cross section locations. When extrapolatic, the line.cross_weight is less than 0 or greater than 1.
Breaking change: missing or empty values in float datasets in the output gridadmin are now denoted by NaN (not-a-number) instead of -9999.0.
Breaking change: integers in the output gridadmin are now always 32-bit (instead of sometimes 32-bit and sometimes 64-bit).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file threedigrid_builder-0.1.1-cp39-cp39-manylinux1_x86_64.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp39-cp39-manylinux1_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b362ba6aae8c45d650be752cb3740a4964ca776f0945b8f8c772bab39abaeaf |
|
MD5 | 3a4d4826357574220bf2d188d8196fc5 |
|
BLAKE2b-256 | 9a5286e25bc01d54dce07b13021550f3e3fde71689edd6cea729db45dcf85065 |
File details
Details for the file threedigrid_builder-0.1.1-cp39-cp39-manylinux1_i686.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp39-cp39-manylinux1_i686.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56ac42c3c0d5bfc8f559c5cef920d12c45bf5d0e8b2740ec58ed227cdfb64b16 |
|
MD5 | 11e6930efcea7668a6bfc563f137e8f8 |
|
BLAKE2b-256 | 30602dae0c61c5a1ecf0d9ebc6b7da659336236b1d6ea8bc37438460ae1bbc42 |
File details
Details for the file threedigrid_builder-0.1.1-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 394db01c4e3048c2870f7dec5d26dd446f5d1ef1b7b7dc0c1046b024699e7c89 |
|
MD5 | 6c76b26a89deb2ebd0c5c8546972f006 |
|
BLAKE2b-256 | 6b900dfc36fcc5ef3492abb00b7b96683905b5c6fa599c82f639cc9260d041eb |
File details
Details for the file threedigrid_builder-0.1.1-cp38-cp38-manylinux1_i686.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp38-cp38-manylinux1_i686.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa88eb58cdc6d3192b04a06986eb1d4e6e56350a4c2151e4ca241aff94bf9ca |
|
MD5 | a7717c655d9858d2bc71acf0766758ea |
|
BLAKE2b-256 | 65dd1cc8e765afb4dd80386105fc9b277b964735a153fe1ccdc250e7be35c817 |
File details
Details for the file threedigrid_builder-0.1.1-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f4c4b45d9c89f2352a4e25d5434778071b23c4e6cd874ce5b0605fe6871c4c7 |
|
MD5 | a0246c82a430f89c4da345b33951734a |
|
BLAKE2b-256 | 73ac96a3c86395d604c13b80fe350dc4b061fe9e1de80d5f91ffebeb48cffdfe |
File details
Details for the file threedigrid_builder-0.1.1-cp37-cp37m-manylinux1_i686.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494660983496cc8ca0482fee159820d7ddf18adb88805e023bc56dc35aee62fd |
|
MD5 | bd7ec6a04119accecfdc0b0dcd496d0c |
|
BLAKE2b-256 | bcbd0159e392cee96b3c358b0631c9bb24cb1e713418598c07d43167cf5053cd |
File details
Details for the file threedigrid_builder-0.1.1-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 846fb2a0bba6df8bd783ba4b18a11fbc73bc4a1e8823ecae92ae92edb4284d2f |
|
MD5 | 6a3727355a054e864aa6bd636fd674fb |
|
BLAKE2b-256 | d75e416ee7faa16d69bd85f486fa6a464d0ac9717b142e0643054b5df3dc8b89 |
File details
Details for the file threedigrid_builder-0.1.1-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: threedigrid_builder-0.1.1-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 851b31f326662ecd0bafcac38d4c52483d65778504359ded687660b0a1b5cb01 |
|
MD5 | a23aa679e619947fc0c1c436af21a5e1 |
|
BLAKE2b-256 | 2a7643ee75d90dbaaf11cedd0b43219e9d6b48068c2bd4ea481cd9d50274d947 |