postgkyl.GDataGroup.load

GDataGroup.load(file_name, *, tag='default', label='', ctx=None, value_form=None, basis_type=None, poly_order=None, **read_kwargs)

Load and append one file (or a glob) and return this group.

Successive calls accumulate members, enabling chains such as:

group = GDataGroup()
group.load(frame0).load(frame1).local_poly().collect().plot()

Loading completes before this group is changed, so a failed read leaves its existing members untouched. A glob appends every match in natural filename order, with the same options and errors as postgkyl.load().