Usage and examples¶
The software provides integration of permanent GNSS data and radar InSAR observations, considering a particular computational method such as DInSAR, SBAS and PSI.
Import the library¶
- MultiDEFusion software works in the Python environment. Before starting the fusion process, ensure that your IDE is configured correctly (see Installation).
- To run the integration procedure at the beginning of the code, import run_fusion procedure:
from multidefusion.fusion import run_fusion
Description of initial parameters¶
In the following, to run_fusion, the initial arguments are required to be defined by the user.
integration = run_fusion(stations, path, method, noise)
The description of initial parameters:
| Argument | Type | Description |
|---|---|---|
| stations | list or str |
List of a particular station folders or "ALL" to process all folders found in the specified path |
| path | str |
Path to the directory containing station data |
| method | str |
Fusion method. Options are "forward" or "forward-backward" |
| noise | float |
Noise level of the integration system [mm/day2] |
Important remarks¶
-
The integration procedure can include a single station folder (e.g.,
stations = ["ID01"]) stored in thepath, a list of stations (e.g.,stations = ["ID01", "ID02", "POINT_5"]) or ALL of them (stations = "ALL"). -
For each particular station's folder, it is necessary to store the geodetic data in the ASCII files (see Input).
-
Every ASCII file stored in the station's folder will be included in the integration procedure with respect to the chosen method (
"forward"or"forward-backward"). -
The
noiselevel expressed as acceleration in mm/day2 should by assigned by user in the empirical way. -
In the library, the zero-mean acceleration model is introduced as the system noise matrix (Teunissen, 2009).
Examples¶
-
An example script to run fusion for
ALLstations in/your/path/to/multidefusion_trial/folder usingforward-backwardmethod with0.03mm/day2 noise level. To get a trial MultiDEFusion repository, see Trial section:1 2 3
from multidefusion.fusion import run_fusion integration = run_fusion(stations="ALL", path="/your/path/to/multidefusion_trial/", method="forward-backward", noise=0.03) -
An example script to run fusion for
ID01station inC:\path\to\folder\folder usingforwardmethod with0.05mm/day2 noise level.1 2 3
from multidefusion.fusion import run_fusion integration = run_fusion(stations=["ID01"], path="C:\\path\\to\\folder\\", method="forward", noise=0.05) -
An example script to run fusion for
ID01andPOINT_5stations inC:\path\to\folder\folder usingforward-backwardmethod with0.045mm/day2 noise level.1 2 3
from multidefusion.fusion import run_fusion integration = run_fusion(stations=["ID01", "POINT_5"], path="C:\\path\\to\\folder\\", method="forward-backward", noise=0.045)
Teunissen, P. (2009). Dynamic data processing: Recursive least-squares.