Skip to content

Commit

Permalink
Update retrieval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachHoppinen authored Sep 6, 2023
1 parent d798a36 commit f36c1ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spicy_snow/retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

# import functions for pre-processing
from spicy_snow.processing.s1_preprocessing import merge_partial_s1_images, s1_orbit_averaging,\
s1_clip_outliers, subset_s1_images, ims_water_mask, s1_incidence_angle_masking, merge_s1_subsets
s1_clip_outliers, subset_s1_images, ims_water_mask, s1_incidence_angle_masking, merge_s1_subsets, \
add_confidence_angle

# import the functions for snow_index calculation
from spicy_snow.processing.snow_index import calc_delta_VV, calc_delta_cross_ratio, \
Expand Down Expand Up @@ -140,6 +141,9 @@ def retrieve_snow_depth(area: shapely.geometry.Polygon,
# recombine subsets
ds = merge_s1_subsets(dict_ds)

# calculate confidence interval
ds = add_confidence_angle(ds)

## Snow Index Steps
log.info("Calculating snow index")
# calculate delta CR and delta VV
Expand Down

0 comments on commit f36c1ff

Please sign in to comment.