When one imports the SINAN module, the line below makes a connection to the FTP server.
In situations where the server may be unavailable, this will raise an exception. This connection should be established only when needed and within a try/except clause to avoid crashing code using PySUS as a library.
When one imports the SINAN module, the line below makes a connection to the FTP server.
PySUS/pysus/online_data/SINAN.py
Line 8 in fda2a29
In situations where the server may be unavailable, this will raise an exception. This connection should be established only when needed and within a try/except clause to avoid crashing code using PySUS as a library.