sdtaylor / phenology_forecasts

The backend for http://phenology.naturecast.org
http://phenology.naturecast.org
8 stars 2 forks source link

PRISM connection issue #52

Open sdtaylor opened 3 years ago

sdtaylor commented 3 years ago

currently cannot connect to the PRISM ftp server. running this on a node just hanges

In [3]: from ftplib import FTP

In [4]: ftp_con = FTP(host='prism.nacse.org', user='anonymous',passwd='abc123')

In [5]: ftp_con.nlst('/')

BUT, running the same on the login node is fine.

In [1]: from ftplib import FTP                                                                                                                                           

In [2]: ftp_con = FTP(host='prism.nacse.org', user='anonymous',passwd='abc123')                                                                                          

In [3]: ftp_con.nlst('/')                                                                                                                                                
Out[3]: 
['/PRISM_datasets.pdf',
 '/normals_800m',
 '/normals_4km',
 '/daily',
 '/monthly',
 '/data_archive']