Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

space weather dashboard build your own custom dashboard to analyze and predict weather

import ftplib#Open ftp connection
ftp = ftplib.FTP('ftp.seismo.nrcan.gc.ca', 'anonymous',
'user')#List the files in the current directory
print("File List:")
files = ftp.dir()import datetimenow=datetime.datetime.now()
ftp.cwd("intermagnet/minute/provisional/IAGA2002/" + str(now.year) + "/" + str(now.strftime("%m")))
# files = ftp.dir()
Source by www.analyticsvidhya.com #
 
PREVIOUS NEXT
Tagged: #space #weather #dashboard #build #custom #dashboard #analyze #predict #weather
ADD COMMENT
Topic
Name
2+3 =