windmapper 2.2.2__tar.gz → 2.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- windmapper-2.2.3/.gitignore +26 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/PKG-INFO +7 -2
- {windmapper-2.2.2 → windmapper-2.2.3}/README.md +6 -1
- {windmapper-2.2.2 → windmapper-2.2.3}/publish.sh +4 -3
- {windmapper-2.2.2 → windmapper-2.2.3}/pyproject.toml +2 -2
- windmapper-2.2.3/spack.yaml +3 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/src/windmapper/windmapper_cli.py +1 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/src/windmapper/windmapper_utls/MPI_call_WN_1dir.py +1 -1
- windmapper-2.2.2/.gitignore +0 -17
- windmapper-2.2.2/MANIFEST.in +0 -10
- {windmapper-2.2.2 → windmapper-2.2.3}/.github/workflows/main.yml +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/.readthedocs.yml +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/CMakeLists.txt +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/LICENSE +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/build.rst +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/cfg/cli_massSolver.cfg +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/proj.ipynb +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/spack-deploy.yaml +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/src/windmapper/__init__.py +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/src/windmapper/windmapper_utls/__init__.py +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/src/windmapper/windmapper_utls/rio_merge.py +0 -0
- {windmapper-2.2.2 → windmapper-2.2.3}/write_WN_config.py +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
__pycache__
|
|
2
|
+
*.tif
|
|
3
|
+
*.vrt
|
|
4
|
+
*.asc
|
|
5
|
+
*.prj
|
|
6
|
+
WindNinja_cli
|
|
7
|
+
.python-version
|
|
8
|
+
.idea/
|
|
9
|
+
docs/_build/
|
|
10
|
+
|
|
11
|
+
*.egg-info
|
|
12
|
+
|
|
13
|
+
spack-deploy/*
|
|
14
|
+
.spack-env/*
|
|
15
|
+
._venv/*
|
|
16
|
+
venv
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
dist/*
|
|
20
|
+
|
|
21
|
+
spack.lock
|
|
22
|
+
/implementation/._view/*
|
|
23
|
+
/implementation/.spack-env/*
|
|
24
|
+
/implementation/view/*
|
|
25
|
+
/implementation/windmapper_config
|
|
26
|
+
/implementation/spack.lock
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: windmapper
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: Windfield library generation
|
|
5
5
|
Author: Chris Marsh
|
|
6
6
|
Project-URL: Homepage, https://github.com/Chrismarsh/Windmapper
|
|
@@ -33,4 +33,9 @@ To build Windninja, ensure gdal, boost, and mpi system libraries are installed a
|
|
|
33
33
|
Spack can also be used to install windmapper -- please see documentation below.
|
|
34
34
|
|
|
35
35
|
# Documentation
|
|
36
|
-
Documentation and full instructions on use can be found [here](https://windmapper.readthedocs.io)
|
|
36
|
+
Documentation and full instructions on use can be found [here](https://windmapper.readthedocs.io)
|
|
37
|
+
|
|
38
|
+
# Implimentation
|
|
39
|
+
|
|
40
|
+
The directory `implementation/` contains a jupyter notebook with an example implimentation of the code. It is not
|
|
41
|
+
vectorized to aid in readability. However, this makes it very very slow!
|
|
@@ -15,4 +15,9 @@ To build Windninja, ensure gdal, boost, and mpi system libraries are installed a
|
|
|
15
15
|
Spack can also be used to install windmapper -- please see documentation below.
|
|
16
16
|
|
|
17
17
|
# Documentation
|
|
18
|
-
Documentation and full instructions on use can be found [here](https://windmapper.readthedocs.io)
|
|
18
|
+
Documentation and full instructions on use can be found [here](https://windmapper.readthedocs.io)
|
|
19
|
+
|
|
20
|
+
# Implimentation
|
|
21
|
+
|
|
22
|
+
The directory `implementation/` contains a jupyter notebook with an example implimentation of the code. It is not
|
|
23
|
+
vectorized to aid in readability. However, this makes it very very slow!
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
set -e
|
|
2
2
|
. ~/Documents/science/code/spack/share/spack/setup-env.sh
|
|
3
3
|
#setup build env
|
|
4
|
-
spack env create -d spack-deploy spack-deploy.yaml
|
|
4
|
+
#spack env create -d spack-deploy spack-deploy.yaml
|
|
5
5
|
spack env activate spack-deploy
|
|
6
|
-
spack install
|
|
6
|
+
#spack install
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
#build current version
|
|
@@ -14,4 +14,5 @@ twine upload dist/* --skip-existing
|
|
|
14
14
|
#clean up
|
|
15
15
|
spack env deactivate
|
|
16
16
|
rm -rf spack-deploy
|
|
17
|
-
rm -rf dist
|
|
17
|
+
rm -rf dist
|
|
18
|
+
|
|
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "windmapper"
|
|
7
|
-
version = "2.2.
|
|
7
|
+
version = "2.2.3"
|
|
8
8
|
authors = [
|
|
9
9
|
{name="Chris Marsh"}
|
|
10
10
|
]
|
|
@@ -27,7 +27,7 @@ dependencies = [
|
|
|
27
27
|
Homepage = "https://github.com/Chrismarsh/Windmapper"
|
|
28
28
|
|
|
29
29
|
[tool.scikit-build]
|
|
30
|
-
sdist.exclude = ["examples", "docs", "_config.yml", "dist"]
|
|
30
|
+
sdist.exclude = ["examples", "docs", "_config.yml", "dist", "spack-deploy", "venv", "implementation"]
|
|
31
31
|
|
|
32
32
|
[project.scripts]
|
|
33
33
|
windmapper = "windmapper:main"
|
|
@@ -550,6 +550,7 @@ write_farsite_atm = false """
|
|
|
550
550
|
# absolutely make sure there are no missing data. From the cut above can sometimes be missing 1px along the edge
|
|
551
551
|
exec_str = '%sgdal_fillnodata.py %s %s'
|
|
552
552
|
com_string = exec_str % (gdal_prefix, fic_tmp+'.tmp.tif', fic_tmp)
|
|
553
|
+
print(com_string)
|
|
553
554
|
subprocess.check_call([com_string], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
|
|
554
555
|
|
|
555
556
|
os.remove(fic_tmp+'.tmp.tif')
|
|
@@ -66,7 +66,7 @@ def call_WN_1dir(WINDNINJA_DATA, gdal_prefix, user_output_dir, fic_config_WN, li
|
|
|
66
66
|
exec_cmd = wn_exe + ' ' + \
|
|
67
67
|
fic_config_WN + ' --elevation_file ' + fic_dem_in + ' --mesh_resolution ' + str(
|
|
68
68
|
res_wind) + ' --input_direction ' + str(int(wdir)) + ' --output_path ' + dir_tmp
|
|
69
|
-
|
|
69
|
+
print(exec_cmd)
|
|
70
70
|
try:
|
|
71
71
|
os.environ["WINDNINJA_DATA"] = WINDNINJA_DATA
|
|
72
72
|
out = subprocess.check_output([exec_cmd],
|
windmapper-2.2.2/.gitignore
DELETED
windmapper-2.2.2/MANIFEST.in
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|