Contains the class for GeoPoints format.
Bases: epygram.resources.FileResource.FileResource
Class implementing all specificities for GeoPoints resource format.
Format:
<beginning of file> #GEO #PARAMETER = any name or character string #LAT LON DATE TIME VALUE #DATA 32.2671 -12.5501 20140417 21 2.269112E+02 ... <till end of file> The set of keys describing each point is defined in its ‘columns’ attribute.
Footprint:
dict(
attr = dict(
columns = dict(
access = 'rxx',
alias = set([]),
default = None,
info = 'The columns of the geopoints, i.e. the set of keys describing each point.',
optional = True,
outcast = set([]),
remap = dict(),
type = footprints.stdtypes.FPList,
values = set([]),
),
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 = 'GeoPoints',
info = 'Format of the resource.',
optional = True,
outcast = set([]),
remap = dict(),
values = set(['GeoPoints']),
),
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']),
),
other_attributes = dict(
access = 'rxx',
alias = set([]),
default = footprints.stdtypes.FPDict::<<
as_dict:: dict()
>>,
info = 'other key:value pairs in header.',
optional = True,
outcast = set([]),
remap = dict(),
type = footprints.stdtypes.FPDict,
values = set([]),
),
parameter = dict(
access = 'rxx',
alias = set([]),
default = None,
info = 'The name of the parameter whose data is in the *value* field.',
optional = True,
outcast = set([]),
remap = dict(),
values = set([]),
),
),
bind = [],
info = 'Not documented',
only = dict(),
priority = dict(
level = footprints.priorities.PriorityLevel::DEFAULT,
),
)
Returns a list containing the LFI identifiers of all the fields of the resource.
Opens a GeoPoint.
Args:
Reads the GeoPoints:
Writes in file-like a summary of the contents of the GeoPoints.
Args:
Write a field in the resource.
Args: