sentinel1

package
v0.0.0-...-62531ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2022 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MLIFun = common.Select("multi_look_ScanSAR", "multi_S1_TOPS")

Functions

func IWAbsDiff

func IWAbsDiff(one, two IWInfos) (sum float64, err error)

Types

type BurstOverlapThresholds

type BurstOverlapThresholds struct {
	// Coherence threshold in overlapping bursts
	Coherence ifg.Coherence `json:"coherence"`

	// Minimum fraction of coherent pixels in overlapping bursts
	MinCoherentPixFraction limits.Fraction `json:"min_coherent_pixels_fraction"`

	// Maximum allowed phase standard deviation
	MaxPhaseStdev float64 `json:"max_phase_stdev"`
}

type ByDate

type ByDate Zips

func (ByDate) Len

func (d ByDate) Len() int

func (ByDate) Less

func (d ByDate) Less(i, j int) bool

func (ByDate) Swap

func (d ByDate) Swap(i, j int)

type Common

type Common struct {
	// Whether to clean temporary files
	Clean bool `json:"clean_temp_files"`

	// Whether to use previously calculated intermediate files
	UseInter bool `json:"use_inter_files"`

	Looks common.RngAzi `json:"looks"`

	BurstOverlapThresh BurstOverlapThresholds `json:"burst_overlap_thresh"`

	OutPaths OutPaths `json:"out_paths"`
}

type CoregMeta

type CoregMeta struct {
	Master MasterFilePaths `json:"master_filepaths"`

	// Optional polynom file
	Poly1 path.File `json:"poly1"`

	// Optional polynom file
	Poly2 path.File `json:"poly2"`
	Common
}

func (CoregMeta) Parse

func (cm CoregMeta) Parse() (co CoregOpt, err error)

type CoregOpt

type CoregOpt struct {
	Master MasterFiles
	Poly1  *path.ValidFile
	Poly2  *path.ValidFile
	Common
}

func (*CoregOpt) Coreg

func (c *CoregOpt) Coreg(Slc, ref *SLC) (co CoregOut, err error)

type CoregOut

type CoregOut struct {
	RSLC slc.SLC
	Rslc SLC
	Ifg  ifg.File
}

type ExtractError

type ExtractError struct {
	// contains filtered or unexported fields
}

func (ExtractError) Error

func (e ExtractError) Error() string

func (ExtractError) Unwrap

func (e ExtractError) Unwrap() error

type Extractor

type Extractor struct {
	*zip.ReadCloser
	// contains filtered or unexported fields
}

func (Extractor) Err

func (ex Extractor) Err() (err error)

func (*Extractor) Extract

func (ex *Extractor) Extract(mode tplType, iw int) (vf path.ValidFile)

type IW

type IW struct {
	data.ComplexWithPar
	TOPSPar path.ValidFile
}

func (IW) Move

func (iw IW) Move(dir path.Dir) (miw IW, err error)

func (IW) Tabline

func (iw IW) Tabline() (s string)

type IWInfo

type IWInfo struct {
	// contains filtered or unexported fields
}

type IWInfos

type IWInfos [maxIW]IWInfo

func (IWInfos) Contains

func (iw IWInfos) Contains(aoi common.AOI) bool

type IWPath

type IWPath struct {
	data.PathWithPar
	TOPSPar path.File
}

func NewIW

func NewIW(datafile path.File) (p IWPath)

func (IWPath) GetParser

func (p IWPath) GetParser() (pp params.Parser, err error)

func (IWPath) Load

func (p IWPath) Load() (iw IW, err error)

func (IWPath) Tabline

func (iw IWPath) Tabline() (s string)

func (IWPath) WithPar

func (p IWPath) WithPar(par path.File) (pp IWPath)

func (IWPath) WithTOPS

func (p IWPath) WithTOPS(tops path.File) (pp IWPath)

type IWPaths

type IWPaths [maxIW]IWPath

type IWs

type IWs [maxIW]IW

type ImportOptions

type ImportOptions struct {
	OPODDirectory string

	SwathFlag
	Noise
	// contains filtered or unexported fields
}

func DefaultImporter

func DefaultImporter() (io ImportOptions)

func (ImportOptions) New

func (io ImportOptions) New(c settings.Commands) (im Importer, err error)

func (ImportOptions) ToArgs

func (io ImportOptions) ToArgs() (s string, err error)

type Importer

type Importer struct {
	// contains filtered or unexported fields
}

func (Importer) FormatZiplist

func (im Importer) FormatZiplist(w io.Writer, one, two *Zip) (err error)

func (Importer) Import

func (im Importer) Import(one, two *Zip) (err error)

func (Importer) WriteZiplist

func (im Importer) WriteZiplist(one, two *Zip) (err error)

type MasterFilePaths

type MasterFilePaths struct {
	MLI    path.ValidFile `json:"master_mli"`
	Height path.ValidFile `json:"height"`
	SLC    path.ValidFile `json:"slc"`
}

func (MasterFilePaths) Parse

func (m MasterFilePaths) Parse() (mf MasterFiles, err error)

type MasterFiles

type MasterFiles struct {
	MLI    mli.MLI    `json:"mli"`
	Height geo.Height `json:"height"`
	SLC    SLC        `json:"slc"`
}

type MosaicOpts

type MosaicOpts struct {
	Looks           common.RngAzi
	BurstWindowFlag bool
	RefTab          string
}

type Noise

type Noise int
const (
	ApplyCorrection Noise = iota
	NoCorrection
)

func (Noise) String

func (n Noise) String() (s string)

type OutPaths

type OutPaths struct {
	RSLC path.EmptyDir `json:"rslc"`
	Ifg  path.EmptyDir `json:"ifg"`
}

type SLC

type SLC struct {
	Tab path.ValidFile
	SLCMeta
	IWs
}

func FromTabfile

func FromTabfile(tab path.ValidFile) (s1 SLC, err error)

func (SLC) Date

func (s SLC) Date() time.Time

func (SLC) DerampRef

func (s1 SLC) DerampRef() (ds1 SLC, err error)

func (SLC) DerampSlave

func (s1 SLC) DerampSlave(ref *SLC, looks common.RngAzi, keep bool) (ret SLC, err error)

func (SLC) Exist

func (s1 SLC) Exist() (b bool, err error)

func (*SLC) MLI

func (s1 *SLC) MLI(mli *mli.MLI, opt *mli.Options) (err error)

func (SLC) Mosaic

func (s1 SLC) Mosaic(out slc.SLC, opts MosaicOpts) (err error)

func (SLC) Move

func (s1 SLC) Move(dir path.Dir) (ms1 SLC, err error)

func (SLC) RSLC

func (s1 SLC) RSLC(outDir path.Dir) (sp SLCPath, err error)

type SLCMeta

type SLCMeta struct {
	time.Time
	// contains filtered or unexported fields
}

type SLCPath

type SLCPath struct {
	Tab path.File
	SLCMeta
	IWPaths
}

func (SLCPath) CreateTabfile

func (sp SLCPath) CreateTabfile() (err error)

func (SLCPath) Load

func (sp SLCPath) Load() (slc SLC, err error)

type SwathFlag

type SwathFlag int
const (
	AsListed SwathFlag = iota
	One
	Two
	Three
	OneTwo
	TwoThree
)

func (SwathFlag) String

func (sf SwathFlag) String() (s string)

type Template

type Template interface {
	Render(ii int, pol common.Pol) string
}

type Zip

type Zip struct {
	Path path.ValidFile
	Safe path.File

	Templates templates

	DTID string
	UID  string
	// contains filtered or unexported fields
}

func NewZip

func NewZip(zipPath path.ValidFile) (s1 *Zip, err error)

func (Zip) Date

func (s1 Zip) Date() time.Time

func (Zip) Info

func (s1 Zip) Info(dst path.Dir) (iws IWInfos, err error)

func (Zip) Quicklook

func (s1 Zip) Quicklook(dst path.Dir) (s path.ValidFile, err error)

type Zips

type Zips []*Zip

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL