File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626)
2727from seaice_ecdr .grid_id import get_grid_id
2828from seaice_ecdr .nc_util import remove_FillValue_from_coordinate_vars
29- from seaice_ecdr .platforms import PLATFORM_CONFIG , Platform , is_dmsp_platform
29+ from seaice_ecdr .platforms import PLATFORM_CONFIG , Platform
3030from seaice_ecdr .platforms .config import N07_PLATFORM
3131
3232
@@ -638,12 +638,12 @@ def get_cdr_conc_threshold(
638638) -> float :
639639 """For the given date and hemisphere, return the concentration threshold as a percentage.
640640
641- DMSP platforms have a static 10% threshold. AMSR2 data has a threshold based
642- on day-of-year (DOY) .
641+ AMSR2 data has a threshold based on day-of-year (DOY). All other platforms
642+ use a static threshold of 10% .
643643 """
644644
645- if is_dmsp_platform ( platform . id ):
646- # DMSP data will utilize a static 10% threshold.
645+ # Most platforms (DMSP) utilize a static 10% threshold.
646+ if platform . id != "am2" :
647647 return DEFAULT_CONC_THRESHOLD_PERCENT
648648
649649 ancillary_ds = get_ancillary_ds (hemisphere = hemisphere )
You can’t perform that action at this time.
0 commit comments