Documentation ¶
Index ¶
- Constants
- Variables
- func Check(err error)
- func LoadJson(f path.ValidFile, val interface{}) (err error)
- func SaveJson(val SavePather) (err error)
- func SaveJsonTo(pth path.Like, val interface{}) (err error)
- type AOI
- type Dims
- type FileParseError
- type IMinmax
- type LatLon
- type LatLonRegion
- type MinOrMax
- type Minmax
- type ParseError
- type Pather
- type Pol
- type RngAzi
- type SavePather
- type Slice
- type Validator
- type ZeroDimError
Constants ¶
View Source
const (
BufSize = 50
)
View Source
const DefaultCachePath = "/mnt/bozso_i/cache"
Variables ¶
View Source
var ( Pols = [4]string{"vv", "hh", "hv", "vh"} // TODO: get settings path from environment variable Settings = loadSettings(confpath) )
View Source
var DefaultRngAzi = RngAzi{Rng: 1, Azi: 1}
Functions ¶
func SaveJson ¶
func SaveJson(val SavePather) (err error)
func SaveJsonTo ¶
Types ¶
type FileParseError ¶
type FileParseError struct {
// contains filtered or unexported fields
}
func (FileParseError) Error ¶
func (e FileParseError) Error() string
func (FileParseError) ToRetreive ¶
func (e FileParseError) ToRetreive(s string) error
func (FileParseError) Unwrap ¶
func (e FileParseError) Unwrap() error
type LatLonRegion ¶
func ParseRegion ¶
func ParseRegion(info params.Parser) (r LatLonRegion, err error)
func (LatLonRegion) ToRegion ¶
func (ll LatLonRegion) ToRegion() (r geometry.Region)
type ParseError ¶
type ParseError struct {
// contains filtered or unexported fields
}
func (ParseError) Error ¶
func (e ParseError) Error() string
func (ParseError) Unwrap ¶
func (e ParseError) Unwrap() error
type SavePather ¶
type ZeroDimError ¶
type ZeroDimError struct {
// contains filtered or unexported fields
}
func (ZeroDimError) Error ¶
func (e ZeroDimError) Error() string
func (ZeroDimError) Unwrap ¶
func (e ZeroDimError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.