Skip to content

Commit

Permalink
Update modis-download.py
Browse files Browse the repository at this point in the history
replaced duplicate MOD35_L2 in _check_data_product_name with MYD35_L2
  • Loading branch information
lillif authored Feb 13, 2024
1 parent 93655b3 commit b78b379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/modis-download.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _check_resolution(resolution: str) -> str:

def _check_data_product_name(data_product: str) -> bool:
if data_product in ['MOD021KM', 'MOD02HKM', 'MOD02QKM', 'MYD021KM', 'MYD02HKM', 'MYD02QKM',
'MOD35_L2', 'MOD35_L2']:
'MOD35_L2', 'MYD35_L2']:
return True
else:
msg = "Unrecognized data product"
Expand Down

0 comments on commit b78b379

Please sign in to comment.