trivial modification

This commit is contained in:
Chunxiao Li 2021-06-07 16:11:41 +08:00
parent ad0ef52289
commit 00efec980c
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ def download_sw_jb2008(direc=None):
tqdm_request(url1,direc,'SOLFSMY.TXT',desc1)
tqdm_request(url2,direc,'DTCFILE.TXT',desc2)
else:
print('The space weather data in {:s} is already the latest.'.format(direc))
print('The space weather data {0:s} and {1:s} in {2:s} is already the latest.'.format('SOLFSMY.TXT','DTCFILE.TXT',direc))
return [swfile1,swfile2]
def read_sw_jb2008(swfile):

View File

@ -41,7 +41,7 @@ def download_sw_nrlmsise00(direc=None):
desc = 'Updating the space weather data {:s} from CELESTRAK'.format('SW-All.txt')
tqdm_request(url,direc,'SW-All.txt',desc)
else:
print('The space weather data in {:s} is already the latest.'.format(direc))
print('The space weather data {0:s} in {1:s} is already the latest.'.format('SW-All.txt',direc))
return swfile
def read_sw_nrlmsise00(swfile):