Skip to content

Commit a5460ff

Browse files
rzinkerzinkesssangha
authored
Rz dedup (#458)
* Log-based dedup * Extraction dedup * ariaTSsetup handle dedup with input files removed * ariaTSsetup bug fixes * Inc connectedComponents in extracted files list * DEM download dedup * Deconflict run log with dev * Bug fix duplicated logs * Lazy formatting * Skip re-download mask * arrres multiple of base pixel size * Check for dem and mask consistency * PEP8 updates * Support for standard pixel sizes 1 or 3 arcsec * Bug fix for pixel size standardization * pep8 fix for res determination * Removal vestigial section which deletes geoemtry files automatically * Make sure to also crop connected component file * Support iterative addition of layers * Add tile_mate dependency * Error out when previously extracted GUNWs not found. * Bug fix for DEM and mask dedup * Write extracted_file_names to pickle file * Refine SET and tropo dedup to capture all uninterpolated files * Bug-fix for checking dimensions of existing tropo and SET extracted layers * Error out if croptounion option changed from one run to the next * Move croptounion check early in product sorting function * Add space in exception message --------- Co-authored-by: rzinke <rzinke@jpl.caltech.edu> Co-authored-by: Simran S Sangha <sssangha@ucla.edu>
1 parent 7f619ce commit a5460ff

File tree

10 files changed

+624
-218
lines changed

10 files changed

+624
-218
lines changed

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies:
3333
- requests
3434
- scipy>1.10.0
3535
- shapely
36-
- tile_mate
36+
- tile_mate>=0.0.12
3737
- xarray
3838
#for ARIA-tools-docs
3939
#- jupyterlab

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rioxarray
2323
requests
2424
scipy>1.10.0
2525
shapely
26-
tile_mate
26+
tile_mate>=0.0.12
2727
xarray
2828
## notebook dependencies, keep commented out for better compatiability with other codes
2929
#jupyterlab

tools/ARIAtools/constants.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
Record global variables for use in other scripts
1010
"""
1111

12+
# List of supported pixel sizes (in arcseconds)
13+
ARIA_PX_SIZES = [0.000277778,
14+
0.000833334]
15+
1216
# Create lists of all supported models and all aria layers
1317
ARIA_EXTERNAL_CORRECTIONS = ['troposphereHydrostatic',
1418
'troposphereWet',
@@ -30,7 +34,6 @@
3034
'amplitude']
3135
ARIA_LAYERS += ARIA_EXTERNAL_CORRECTIONS
3236
ARIA_LAYERS += ARIA_INTERNAL_CORRECTIONS
33-
ARIA_LAYERS += ARIA_TROPO_MODELS
3437

3538
ARIA_STANDARD_INTF_LAYERS = ['unwrappedPhase', 'coherence']
3639
ARIA_STANDARD_GEOM_LAYERS = ['incidenceAngle', 'azimuthAngle']
@@ -57,3 +60,4 @@
5760
'solidEarthTide': 'setStack'
5861
}
5962
ARIA_STACK_OUTFILES.update({i: i + 'Stack' for i in ARIA_TROPO_MODELS})
63+

0 commit comments

Comments
 (0)