heliopy.data.util.
load
(filename, local_dir, remote_url, try_download=True, remote_error=False)¶Try to load a file from local_dir.
If file doesn’t exist locally, try to download from remtote_url instead.
Parameters: |
|
---|---|
Returns: | file – If filename ends in .cdf the CDF file will be opened and returned. Otherwise it is assumed that the file is an ascii file, and
filename will be opened using python’s If the file can’t be found locally or remotely, and remote_errror is
|
Return type: | CDF, open file, None |