metobs_toolkit.station.Station.to_parquet#
- Station.to_parquet(filepath: str | PathLike | None = None, overwrite: bool = False, **kwargs) None[source]#
Save the station observations to a parquet file.
The DataFrame returned by the .df property is written to a parquet file. This includes all observations with their QC labels (or gapfill labels) for this station.
- Parameters:
filepath (str or path-like or None, optional) – Path where the parquet file will be saved. If None, defaults to ‘<stationname>_station.parquet’ in the current working directory. Default is None.
overwrite (bool, optional) – If True, overwrites existing file. Default is False.
**kwargs – Additional keyword arguments to pass to pandas.DataFrame.to_parquet().
- Return type:
None
See also
Station.dfThe DataFrame property that is written to file.
Station.to_csvSave station data to CSV format.