Analysis#

The Analysis class holds ‘good records’, and some common methods to analyze the observations.

Constructor#

Analysis(Dataholder)

Analysis class for handling and analyzing meteorological data from a Dataset or Station.

Data attributes#

A summary of all the attributes that hold or return data.

Analysis.df

Analysis DataFrame constructor.

Methods#

A summary of all methods in the Analysis class.

Analysis.get_info([printout])

Provides information about the Analysis instance, including the number of records, observation types, metadata columns, station names, and known time derivatives.

Analysis.get_tz()

Retrieve the timezone information of the 'datetime' index.

Analysis.apply_filter_on_metadata(filter_string)

Apply a filter expression to the metadata and update the records accordingly.

Analysis.apply_filter_on_records(filter_string)

Apply a filter expression to the records.

Analysis.subset_period(startdt, enddt)

Subset the DataFrame to a specific time period.

Analysis.aggregate_df([obstype, agg, method])

Aggregate all 'values' to specific groups and return the resulting DataFrame.

Analysis.plot_diurnal_cycle([obstype, ...])

Plot the diurnal cycle of a specified observation type, grouped by a given category.

Analysis.plot_diurnal_cycle_with_reference_station(...)

Plot the diurnal cycle of differences between observations and a reference station.