Skip to content

Commit

Permalink
add in some switches
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquelynsmale committed Jan 10, 2025
1 parent a40e386 commit e795ed6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/RAiDER/cli/raider.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ def determine_weather_model(gunw_file):
"""
for model in ALLOWED_MODELS:
try:
print(model)
weather_model = RAiDER.aria.prepFromGUNW.check_weather_model_availability(gunw_file, model)
return weather_model
except:
Expand Down Expand Up @@ -613,7 +614,7 @@ def calcDelaysGUNW(iargs: Optional[list[str]] = None) -> Optional[xr.Dataset]:

if args.weather_model == 'AUTO':
args.weather_model = determine_weather_model(args.file)
print('Selected weather model {args.weather_model} for scene gunw')
print(f'Selected weather model {args.weather_model} for scene')

if (
args.file is not None and
Expand Down

0 comments on commit e795ed6

Please sign in to comment.