Skip to content

r.mwprecip

Module for working with microwave links

r.mwprecip [-gqpr] database=name [statfce=string] [quantile=integer] [roundm=integer] [aw=float] [baseltime=name] [baselfile=name] [interval=string] [fromtime=string] [totime=string] [lignore=name] [rgauges=name] [interpolation=string] [isettings=string] [pmethod=string] [step=integer] [color=name] [user=string] [password=string] [schema=string] [--verbose] [--quiet] [--qq] [--ui]

Example:

r.mwprecip database=name

grass.script.parse_command("r.mwprecip", database, statfce="mode", quantile=96, roundm=3, aw=1.5, baseltime=None, baselfile=None, interval="minute", fromtime=None, totime=None, lignore=None, rgauges=None, interpolation="rst", isettings=None, pmethod="count", step=1, color=None, user=None, password=None, schema="temp4", flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.parse_command("r.mwprecip", database="name")

Parameters

database=name [required]
    PostgreSQL database containing input data
statfce=string
    Choose method for compute bs from time intervals
    Allowed values: avg, mode, quantile
    Default: mode
quantile=integer
    Set quantile
    Default: 96
roundm=integer
    Round to "m" decimal places for computing mode
    Default: 3
aw=float
    aw value
    Wetting antenna value Aw[dB]
    Default: 1.5
baseltime=name
    Set interval or just time when not raining (see the manual)
    Name of input file
baselfile=name
    Baseline values in format "linkid,baseline"
    Name of input file
interval=string
    Summing precipitation per
    Allowed values: minute, hour, day
    Default: minute
fromtime=string
    First timestamp "YYYY-MM-DD H:M:S"
    Set first timestamp to create timewindows
totime=string
    Last timestamp "YYYY-MM-DD H:M:S"
    Set last timestamp to create timewindows
lignore=name
    Linkid ignore list
    Name of input file
rgauges=name
    Path to folder with rain rauge files
    Name of input directory
interpolation=string
    Type of interpolation
    Allowed values: bspline, idw, rst
    Default: rst
isettings=string
    Interpolation command string
    Additional settings for choosen interpolation (see manual)
pmethod=string
    Type of interpolation
    Allowed values: permeter, count
    Default: count
step=integer
    Setting for parameter pmethod
    Default: 1
color=name
    Set color table
    Name of input file
user=string
    User name
    Connect to the database as the user username instead of the default.
password=string
    Password
    Password will be stored in file!
schema=string
    Name of db schema for results
    Default: temp4
-g
    Run GRASS analysis
-q
    Do not set region from modul settings
-p
    Print info about timestamp(first,last) in db
-r
    Remove temporary working schema and data folder
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

database : str, required
    PostgreSQL database containing input data
    Used as: dbname, name
statfce : str, optional
    Choose method for compute bs from time intervals
    Allowed values: avg, mode, quantile
    Default: mode
quantile : int, optional
    Set quantile
    Default: 96
roundm : int, optional
    Round to "m" decimal places for computing mode
    Default: 3
aw : float, optional
    aw value
    Wetting antenna value Aw[dB]
    Default: 1.5
baseltime : str, optional
    Set interval or just time when not raining (see the manual)
    Name of input file
    Used as: input, file, name
baselfile : str, optional
    Baseline values in format "linkid,baseline"
    Name of input file
    Used as: input, file, name
interval : str, optional
    Summing precipitation per
    Allowed values: minute, hour, day
    Default: minute
fromtime : str, optional
    First timestamp "YYYY-MM-DD H:M:S"
    Set first timestamp to create timewindows
totime : str, optional
    Last timestamp "YYYY-MM-DD H:M:S"
    Set last timestamp to create timewindows
lignore : str, optional
    Linkid ignore list
    Name of input file
    Used as: input, file, name
rgauges : str, optional
    Path to folder with rain rauge files
    Name of input directory
    Used as: input, dir, name
interpolation : str, optional
    Type of interpolation
    Allowed values: bspline, idw, rst
    Default: rst
isettings : str, optional
    Interpolation command string
    Additional settings for choosen interpolation (see manual)
pmethod : str, optional
    Type of interpolation
    Allowed values: permeter, count
    Default: count
step : int, optional
    Setting for parameter pmethod
    Default: 1
color : str, optional
    Set color table
    Name of input file
    Used as: input, file, name
user : str, optional
    User name
    Connect to the database as the user username instead of the default.
password : str, optional
    Password
    Password will be stored in file!
schema : str, optional
    Name of db schema for results
    Default: temp4
flags : str, optional
    Allowed values: g, q, p, r
    g
        Run GRASS analysis
    q
        Do not set region from modul settings
    p
        Print info about timestamp(first,last) in db
    r
        Remove temporary working schema and data folder
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

AUTHOR

Matej Krejci, Czech Technical University in Prague, Czech Republic

SOURCE CODE

Available at: r.mwprecip source code (history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819