Contains the class to handle TIFFMF format.
Bases: epygram.resources.FileResource.FileResource
Class implementing all specificities for TIFFMF resource format.
Footprint:
dict(
attr = dict(
filename = dict(
access = 'rxx',
alias = set([]),
default = None,
info = 'File name (absolute or relative) of the resource.',
optional = False,
outcast = set([]),
remap = dict(),
values = set([]),
),
fmtdelayedopen = dict(
access = 'rxx',
alias = set([]),
default = False,
info = 'Opening of the resource delayed (not at time of construction).',
optional = True,
outcast = set([]),
remap = dict(),
type = bool,
values = set([]),
),
format = dict(
access = 'rxx',
alias = set([]),
default = 'TIFFMF',
info = 'Format of the resource.',
optional = True,
outcast = set([]),
remap = dict(),
values = set(['TIFFMF']),
),
openmode = dict(
access = 'rxx',
alias = set([]),
default = None,
info = 'Opening mode.',
optional = False,
outcast = set([]),
remap = dict(
append = 'a',
read = 'r',
write = 'w',
),
values = set(['a', 'write', 'r', 'w', 'read', 'append']),
),
),
bind = [],
info = 'Not documented',
only = dict(),
priority = dict(
level = footprints.priorities.PriorityLevel::DEFAULT,
),
)
Returns a list of the fields from resource whose identifier match the given seed.
Args:
If None (default), returns the list of all fields in resource.
fieldtype: optional, among (‘H2D’, ‘Misc’) or a list of these strings. If provided, filters out the fields not of the given types.
generic: if True, returns a list of tuples (fieldname, generic fid) of the fields.
Returns a list containing the TIFFMF identifiers of all the fields of the resource.
Reads one field, given its identifier, and returns a Field instance. Interface to Fortran routines from ‘ifsaux’.
Args:
fieldidentifier: name.
Default is True.
Returns a epygram.base.FieldSet containing requested fields read in the resource.
Args:
requestedfields: might be
Default is True.
Returns a sorted list of fields with regards to their name, as a dict of lists.
Writes in file a summary of the contents of the TIFFMF.
Args:
Write a field in the resource.
Args:
Write the fields of the fieldset in the resource.
Args: