NREL / flasc

A rich floris-driven suite for SCADA analysis
https://nrel.github.io/flasc/
BSD 3-Clause "New" or "Revised" License
32 stars 18 forks source link

[Feature]: Reduce precision of dataframes #38

Closed Bartdoekemeijer closed 1 year ago

Bartdoekemeijer commented 2 years ago

Description

FLASC often works with large amounts of data. This becomes particularly apparent if the user is working with 1Hz data rather than 10-minute averages. To reduce file size and memory usage, dataframes can be formatted to an appropriate precision.

Namely:

This can generally reduce the size of the dataframes by typically 50%, sometimes more. A simple function can be written and added to dataframe_manipulations to reduce the precision of any dataframe.

Related URLs

No response