Version v2.0
The documentation is located here: http://www.pik-potsdam.de/~wortmann/m.swim/
upcoming
m.swim.subbasins
:
include_area
input parameter to create subbasins outside the station catchments, e.g. this is useful for
coastal areas that will never be included in station catchmentsVersion v2.0 - 2022-03-22
v1_lts
branchmswim
library for the first timem.swim.hydrotopes
:
subbasins, landuse, soil, management
arguments renamed to subbasin_id, landuse_id, soil_id, crop_management_id
in-line with new column names of the hydrotope.csv
filestrfilepath
renamed to output
m.swim.routing
:
figpath
argument renamed to output
m.swim.substats
:
projectpath
renamed to output
for the subbasin.csv
filegworder, suborder, routeorder
arguments.Version v1.6 - 2022-01-19
m.swim.glaciers
module to create SWIM-G input filesm.swim.hydrotopes
countoursrast
is now only output file, custom contours raster is passed as string
to contours
-c
is not needed anymore and is deprecatedVersion v1.5 - 2020-07-28
mswim
python package to contain abstracted/shared
functionality between all modules, mainly to test if it's working-v
to show the version and install date of modules and grass itselfm.swim.climate
:
grid=
, -d
and optionally
lon_column, lat_column
, e.g. for rotated gridsncinfopath
argument renamed to gridfilepath
with deprecation noticeVersion v1.4 - 2019-12-02
m.swim.routing
: topologically correct mainstreams vector output
minmainstreams
parameter, by default headwater subbasins have
1-cell mainstreamdrainage
instead of streams
which is set to the
default output of m.swim.subbasins
m.swim.subbasin
: grided subbasin support
-g
enables grid subbasins in current locations projects-l
enables grid subbasins in lon-lat projectionm.swim.run
as succeeded by swimpyVersion v1.3 - 2019-08-11
streamthresh
is now a required parameter to m.swim.subbasins
m.swim.substats
is also writing out centroid latitude, reference elevation and initial water storage.Version v1.2 - 2019-01-09
stations_snapped
vector in m.swim.subbasins
with topology
catchment infominmainstreams
argument to m.swim.routing
m.swim.routing
to subbasin tablem.swim.substats
outputs just three files instead of three for each subbasinrwatershedmemory
argument to m.swim.subbasins
m.swim.subbasins
output catchment names get station category postfix
(instead of running counter)Version v1.1 - 2017-01-27
Version v1.0 - 2016-09-18
There are tests for each grass module based on the Blankenstein catchment
(upper Saale (Elbe)). All required input maps are in the
grassdb/utm32n/PERMANENT
mapset, all tests should therefore be executed in:
cd test
grass grassdb/utm32n/PERMANENT
Run all tests:
make
Or test modules individually like:
make subbasins
make routing
The non-grass output of tests is verified by a sha1sum comparison. Hash and paths are stored and committed to git in the file output.sha1 . To verify that the output is the same run:
make checkoutput
Checking the diff of the output.sha1 file will indicate output files that have changed (if any).
README.md
, in header of all module files and in mswim/__init__.py
.README.md
git commit -a -m 'Bump version to vX.X.'
git tag vX.X
git push & git push --tags
cd doc; make [URL=...] publish