Index
Bbox
Bases: NamedTuple
Bounding box named tuple, defining extent in cartesian coordinates.
Usage:
Bbox(left, bottom, right, top)
Attributes:
| Name | Type | Description |
|---|---|---|
left |
float
|
Left coordinate (xmin) |
bottom |
float
|
Bottom coordinate (ymin) |
right |
float
|
Right coordinate (xmax) |
top |
float
|
Top coordinate (ymax) |
Source code in src/dolphin/_types.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | |
GeneralPath
Bases: Protocol
A protocol to handle paths that can be either local or S3 paths.
Source code in src/dolphin/_types.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
HalfWindow
Bases: NamedTuple
Half-window size in the y (row) and x (column) directions.
Source code in src/dolphin/_types.py
64 65 66 67 68 | |
Strides
Bases: NamedTuple
Decimation/striding factor in the y (row) and x (column) directions.
Source code in src/dolphin/_types.py
57 58 59 60 61 | |
TropoModel
Bases: str, Enum
Enumeration representing different tropospheric models.
Source code in src/dolphin/_types.py
81 82 83 84 85 86 87 88 89 90 91 92 | |
TropoType
Bases: str, Enum
Type of tropospheric delay.
Source code in src/dolphin/_types.py
95 96 97 98 99 100 101 102 103 104 105 | |
COMB = 'comb'
class-attribute
instance-attribute
Combined wet + dry delay.
DRY = 'dry'
class-attribute
instance-attribute
Dry delay (same as hydrostatic, named "dry" in PyAPS)
HYDROSTATIC = 'hydrostatic'
class-attribute
instance-attribute
Hydrostatic (same as dry, named differently in raider)
WET = 'wet'
class-attribute
instance-attribute
Wet tropospheric delay.
log_runtime(f)
Decorate a function to time how long it takes to run.
Usage
@log_runtime def test_func(): return 2 + 4
Source code in src/dolphin/_log.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
show_versions()
Print useful debugging information.
Examples:
python -c "import dolphin; dolphin.show_versions()"
Source code in src/dolphin/_show_versions.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |