pygmt.GMTBackendEntrypoint.open_groups_as_dict

GMTBackendEntrypoint.open_groups_as_dict(filename_or_obj, *, drop_variables=None)

Opens a dictionary mapping from group names to Datasets.

Called by open_groups. This function exists to provide a universal way to open all groups in a file, before applying any additional consistency checks or requirements necessary to create a DataTree object (typically done using from_dict).

Return type:

dict[str, Dataset]