Update fetchOrbit.py

LT1AB
Bryan Marfito 2021-03-24 06:21:44 +08:00 committed by GitHub
parent f1187fd935
commit 3499b3f09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ if __name__ == '__main__':
elif oType == 'restituted':
end_date = fileTS
else:
throw ValueError("Unexpected orbit type: '" + oType + "'")
raise ValueError("Unexpected orbit type: '" + oType + "'")
url = server + spec[1] + str(end_date.year).zfill(2) + '/' + str(end_date.month).zfill(2) + \
'/' + str(end_date.day).zfill(2) + '/'