Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,4 @@ install:
script:
- python setup.py develop
- python -c 'import pymt_hydrotrend'
- |
config_file=$(mmd-stage Hydrotrend . > MANIFEST && mmd-query Hydrotrend --var=run.config_file.path)
bmi-test pymt_hydrotrend.bmi:Hydrotrend --infile=$config_file --manifest=MANIFEST -v
- bmi-test pymt_hydrotrend.bmi:Hydrotrend -vvv
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include LICENSE
include versioneer.py
include pymt_hydrotrend/_version.py
recursive-include pymt_hydrotrend/data/ *
37 changes: 37 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
environment:

matrix:
- TARGET_ARCH: x64
CONDA_INSTALL_LOCN: C:\\Miniconda37-x64
CONDA_ENV: py37-windows

- TARGET_ARCH: x64
CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
CONDA_ENV: py36-windows

platform:
- x64

os: Previous Visual Studio 2015

init:
- "ECHO %CONDA_INSTALL_LOCN% %CONDA_PY% %HOME% %PLATFORM%"
- "ECHO %APPVEYOR_REPO_BRANCH%"

install:
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda update --yes --quiet conda
- cmd: set PYTHONUNBUFFERED=1
- cmd: conda config --set always_yes yes
- cmd: conda config --append channels conda-forge
- cmd: conda env create -n test_env --file requirements.txt
- cmd: conda activate test_env
- cmd: conda install --quiet bmi-tester model_metadata
- cmd: python --version
- cmd: pip install -e .

build: false

test_script:
- python -c 'import pymt_hydrotrend'
- bmi-test pymt_hydrotrend.bmi:Hydrotrend -vvv
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
-------------------------------------------------
Hypsometry input file for HYDROTREND
First line: number of hypsometric bins
Other lines: altitude (m) and area in (km^2) data
-------------------------------------------------
25
1 208.9168081
51 375.2451287
101 536.0996727
151 727.1589437
201 902.604255
251 1096.567651
301 1257.078121
351 1414.457889
401 1529.215605
451 1630.798354
501 1704.457117
551 1769.103192
601 1816.557667
651 1862.242091
701 1898.728609
751 1932.088621
801 1954.393164
851 1969.016904
901 1977.0094
951 1981.623038
1001 1984.268222
1051 1985.923785
1101 1986.740178
1151 1986.92
1201 1986.921
-------------------------------------------------
Hypsometry input file for HYDROTREND
First line: number of hypsometric bins
Other lines: altitude (m) and area in (km^2) data
-------------------------------------------------
25
1 208.9168081
51 375.2451287
101 536.0996727
151 727.1589437
201 902.604255
251 1096.567651
301 1257.078121
351 1414.457889
401 1529.215605
451 1630.798354
501 1704.457117
551 1769.103192
601 1816.557667
651 1862.242091
701 1898.728609
751 1932.088621
801 1954.393164
851 1969.016904
901 1977.0094
951 1981.623038
1001 1984.268222
1051 1985.923785
1101 1986.740178
1151 1986.92
1201 1986.921
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
-------------------------------------------------
Hypsometry input file for HYDROTREND
First line: number of hypsometric bins
Other lines: altitude (m) and area in (km^2) data
-------------------------------------------------
74
1.00000000 36689.00000000
51.00000000 132191.00000000
101.00000000 229211.00000000
151.00000000 295067.00000000
201.00000000 351232.00000000
251.00000000 392688.00000000
301.00000000 429703.00000000
351.00000000 464109.00000000
401.00000000 501105.00000000
451.00000000 536984.00000000
501.00000000 567790.00000000
551.00000000 594228.00000000
601.00000000 615946.00000000
651.00000000 635065.00000000
701.00000000 652189.00000000
751.00000000 668304.00000000
801.00000000 682128.00000000
851.00000000 695509.00000000
901.00000000 707387.00000000
951.00000000 718055.00000000
1001.00000000 727586.00000000
1051.00000000 736704.00000000
1101.00000000 744877.00000000
1151.00000000 752313.00000000
1201.00000000 758681.00000000
1251.00000000 764344.00000000
1301.00000000 769285.00000000
1351.00000000 773452.00000000
1401.00000000 776927.00000000
1451.00000000 780022.00000000
1501.00000000 782843.00000000
1551.00000000 785331.00000000
1601.00000000 787558.00000000
1651.00000000 789486.00000000
1701.00000000 791189.00000000
1751.00000000 792820.00000000
1801.00000000 794290.00000000
1851.00000000 795514.00000000
1901.00000000 796635.00000000
1951.00000000 797644.00000000
2001.00000000 798611.00000000
2051.00000000 799483.00000000
2101.00000000 800226.00000000
2151.00000000 800939.00000000
2201.00000000 801549.00000000
2251.00000000 802166.00000000
2301.00000000 802711.00000000
2351.00000000 803218.00000000
2401.00000000 803659.00000000
2451.00000000 804125.00000000
2501.00000000 804536.00000000
2551.00000000 804917.00000000
2601.00000000 805275.00000000
2651.00000000 805614.00000000
2701.00000000 805890.00000000
2751.00000000 806128.00000000
2801.00000000 806347.00000000
2851.00000000 806514.00000000
2901.00000000 806629.00000000
2951.00000000 806712.00000000
3001.00000000 806800.00000000
3051.00000000 806870.00000000
3101.00000000 806915.00000000
3151.00000000 806965.00000000
3201.00000000 806995.00000000
3251.00000000 807024.00000000
3301.00000000 807034.00000000
3351.00000000 807043.00000000
3401.00000000 807045.00000000
3451.00000000 807046.00000000
3501.00000000 807047.00000000
3551.00000000 807048.00000000
3601.00000000 807050.00000000
3651.00000000 807051.00000000
-------------------------------------------------
Hypsometry input file for HYDROTREND
First line: number of hypsometric bins
Other lines: altitude (m) and area in (km^2) data
-------------------------------------------------
74
1.00000000 36689.00000000
51.00000000 132191.00000000
101.00000000 229211.00000000
151.00000000 295067.00000000
201.00000000 351232.00000000
251.00000000 392688.00000000
301.00000000 429703.00000000
351.00000000 464109.00000000
401.00000000 501105.00000000
451.00000000 536984.00000000
501.00000000 567790.00000000
551.00000000 594228.00000000
601.00000000 615946.00000000
651.00000000 635065.00000000
701.00000000 652189.00000000
751.00000000 668304.00000000
801.00000000 682128.00000000
851.00000000 695509.00000000
901.00000000 707387.00000000
951.00000000 718055.00000000
1001.00000000 727586.00000000
1051.00000000 736704.00000000
1101.00000000 744877.00000000
1151.00000000 752313.00000000
1201.00000000 758681.00000000
1251.00000000 764344.00000000
1301.00000000 769285.00000000
1351.00000000 773452.00000000
1401.00000000 776927.00000000
1451.00000000 780022.00000000
1501.00000000 782843.00000000
1551.00000000 785331.00000000
1601.00000000 787558.00000000
1651.00000000 789486.00000000
1701.00000000 791189.00000000
1751.00000000 792820.00000000
1801.00000000 794290.00000000
1851.00000000 795514.00000000
1901.00000000 796635.00000000
1951.00000000 797644.00000000
2001.00000000 798611.00000000
2051.00000000 799483.00000000
2101.00000000 800226.00000000
2151.00000000 800939.00000000
2201.00000000 801549.00000000
2251.00000000 802166.00000000
2301.00000000 802711.00000000
2351.00000000 803218.00000000
2401.00000000 803659.00000000
2451.00000000 804125.00000000
2501.00000000 804536.00000000
2551.00000000 804917.00000000
2601.00000000 805275.00000000
2651.00000000 805614.00000000
2701.00000000 805890.00000000
2751.00000000 806128.00000000
2801.00000000 806347.00000000
2851.00000000 806514.00000000
2901.00000000 806629.00000000
2951.00000000 806712.00000000
3001.00000000 806800.00000000
3051.00000000 806870.00000000
3101.00000000 806915.00000000
3151.00000000 806965.00000000
3201.00000000 806995.00000000
3251.00000000 807024.00000000
3301.00000000 807034.00000000
3351.00000000 807043.00000000
3401.00000000 807045.00000000
3451.00000000 807046.00000000
3501.00000000 807047.00000000
3551.00000000 807048.00000000
3601.00000000 807050.00000000
3651.00000000 807051.00000000
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-------------------------------------------------
Hypsometry input file for HYDROTREND
First line: number of hypsometric bins
Other lines: altitude (m) and area in (km^2) data
-------------------------------------------------
47
-------------------------------------------------
Hypsometry input file for HYDROTREND
First line: number of hypsometric bins
Other lines: altitude (m) and area in (km^2) data
-------------------------------------------------
47
1.00000000 85.55767822
51.00000000 173.32917786
101.00000000 316.37355042
Expand Down Expand Up @@ -51,4 +51,4 @@ Other lines: altitude (m) and area in (km^2) data
2201.00000000 9272.14600909
2251.00000000 9272.30284245
2301.00000000 9272.30647286

Loading