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
  • /
  • run_multilook_geometry.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:632f5a6a5e4eb60b4d8d42eeb35867784312ebc2
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 ...
run_multilook_geometry.sh
#! /bin/sh
# generate multilooked geometry files for ISCE/stripmapStack product
# Author: Zhang Yunjun, 2019-03-10


if [ ! $# -eq 2 ]; then
    echo 'No input argument for alks and rlks! Example:'
    echo './run_multilook_geometry.sh 20 4'
    exit 1
fi

alks=$1
rlks=$2
echo 'number of multilooks in azimuth direction: '${alks}
echo 'number of multilooks in range   direction: '${rlks}
in_dir='./merged/geom_master'
out_dir='./geom_master'

#geom_master folder
if [ ! -d ${out_dir} ]; then
    echo 'create '${out_dir}
    mkdir ${out_dir}
fi

#multilook geometry files
for fbase in hgt incLocal lat lon los shadowMask
do
    fname=${fbase}'.rdr'
    echo 'multilook '${fname}
    looks.py -a ${alks} -r ${rlks} -i ${in_dir}/${fname} -o ${out_dir}/${fname}
    cp ${in_dir}/${fname}.xml ${out_dir}/${fname}.full.xml
    cp ${in_dir}/${fname}.vrt ${out_dir}/${fname}.full.vrt
done

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