Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision d2173b0210b0b7495eaf40d4f2d5f86e16c7a537 authored by Zhang Yunjun on 03 January 2020, 07:20:21 UTC, committed by Zhang Yunjun on 04 January 2020, 01:08:35 UTC
fractal: adaptive p0 scaling factor
adapt p0 value internally instead of the previously fixed scale value so that the input p0 is equal to C0 from the check_power_spectrum().

check_power_spectrum_1d() use the square part of the input data with dimension as a power of 2, for more robust performance.
1 parent d0259da
  • Files
  • Changes
  • f4afe8d
  • /
  • sh
  • /
  • compare_velocity_with_diff_tropo.sh
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:d2173b0210b0b7495eaf40d4f2d5f86e16c7a537
directory badge Iframe embedding
swh:1:dir:7f1e6ffa3881f4a0534e4e67617e98642c6aab91
content badge Iframe embedding
swh:1:cnt:a7030ba4ff9ac2448ad0cc4cf1363533d733b378
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
compare_velocity_with_diff_tropo.sh
#! /bin/sh
## Compare the estimated velocities from time-series with different troposphric delay corrections
## Created by Zhang Yunjun, Sep 6th, 2018

## Run Control: change to 0 to skip the part
run_proc=1
run_plot=1

## Run Customized Processing
if [ $run_proc -eq 1 ]; then
    generate_mask.py temporalCoherence.h5 -m 0.8 -o maskTempCoh.h5

    # Tropospheric Correction with ERA-Interim
    tropo_pyaps.py -f timeseries.h5 -g inputs/geometryRadar.h5 -m ECMWF -w ~/insarlab/WEATHER
    dem_error.py  timeseries_ECMWF.h5 -g inputs/geometryRadar.h5
    remove_ramp.py timeseries_ECMWF_demErr.h5 -m maskTempCoh.h5 -s linear
    timeseries2velocity.py timeseries_ECMWF_demErr_ramp.h5 -o velocity_tropECMWF.h5

    # Tropospheric Correction with MERRA-2
    tropo_pyaps.py -f timeseries.h5 -g inputs/geometryRadar.h5 -m MERRA -w ~/insarlab/WEATHER
    dem_error.py  timeseries_MERRA.h5 -g inputs/geometryRadar.h5
    remove_ramp.py timeseries_MERRA_demErr.h5 -m maskTempCoh.h5 -s linear
    timeseries2velocity.py timeseries_MERRA_demErr_ramp.h5 -o velocity_tropMERRA.h5

    # Tropospheric Correction with Phase/Elevation Ratio
    dem_error.py timeseries.h5 -g -g inputs/geomtropo_phase_elevationetryRadar.h5
    tropo_phase_elevation.py timeseries_demErr.h5 -g inputs/geometryRadar.h5 -m maskTempCoh.h5
    remove_ramp.py timeseries_demErr_tropHgt.h5 -m maskTempCoh.h5 -s linear
    timeseries2velocity.py timeseries_demErr_tropHgt_ramp.h5 -o velocity_tropHgt.h5

    # No tropospheric Correction
    remove_ramp.py timeseries_demErr.h5 -m maskTempCoh.h5 -s linear
    timeseries2velocity.py timeseries_demErr_ramp.h5 -o velocity_tropNone.h5
fi

## Run plotting
opt=' velocity --wrap --wrap-range -1 1 --nodisplay --cbar-nbins 2 --notitle --figsize 3 3 --fontsize 12 --notick --dpi 600 --ref-size 3 --dem inputs/geometryRadar.h5 --dem-nocontour '
proj_name='AlcedoSenDT128'
if [ $run_plot -eq 1 ]; then
    view.py velocity_tropNone.h5  $opt -o ${proj_name}_velocity_0_tropNone.png
    view.py velocity_tropECMWF.h5 $opt -o ${proj_name}_velocity_1_tropECMWF.png
    view.py velocity_tropMERRA.h5 $opt -o ${proj_name}_velocity_2_tropMERRA.png
    view.py velocity_tropHgt.h5   $opt -o ${proj_name}_velocity_3_tropHgt.png
fi
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top