Parent

class sunpy.util.create.Parent[source] [edit on github]

Bases: object

Methods Summary

from_dir(directory) Return list that contains all files in the directory read in.
from_file(filename) Return object from file.
from_files(filenames) Return list of object read from given list of filenames.
from_glob(pattern) Read out files using glob (e.g., ~/BIR_2011*) pattern.
from_single_glob(singlepattern) Read out a single file using glob (e.g., ~/BIR_2011*) pattern.
from_url(url) Return object read from URL.
read(filename)
read_many(filenames)

Methods Documentation

classmethod from_dir(directory)[source] [edit on github]

Return list that contains all files in the directory read in.

classmethod from_file(filename)[source] [edit on github]

Return object from file.

classmethod from_files(filenames)[source] [edit on github]

Return list of object read from given list of filenames.

classmethod from_glob(pattern)[source] [edit on github]

Read out files using glob (e.g., ~/BIR_2011*) pattern. Returns list of objects made from all matched files.

classmethod from_single_glob(singlepattern)[source] [edit on github]

Read out a single file using glob (e.g., ~/BIR_2011*) pattern. If more than one file matches the pattern, raise ValueError.

classmethod from_url(url)[source] [edit on github]

Return object read from URL.

Parameters:url (str) – URL to retrieve the data from
classmethod read(filename)[source] [edit on github]
classmethod read_many(filenames)[source] [edit on github]