resqpy.property.property_over_time_series_from_collection

resqpy.property.property_over_time_series_from_collection(collection, example_part)

Returns a new PropertyCollection with parts like the example part, over all indices in its time series.

Parameters
  • collection – an existing PropertyCollection from which a subset will be returned as a new object; the existing collection might often be the ‘main’ collection holding all the properties for a grid

  • example_part (string) – the part name of an example member of collection (which has an associated time_series)

Returns

a new PropertyCollection containing those memners of collection which have the same property kind (and facet, if any) as the example part and which have the same associated time series