Hey Guys,
There are plenty of ways to write the results into a file, the most straightforward being to deconstruct the data collection and use any of the several Grasshopper plugins that write GH data to CSV or Excel. But those workflows will involve dumping the data into the Grasshopper UI and will be slow if you have 2981 * 8760 data points. If you want something fast, you should use the LBT Python SDK.
@RafaelA posted an example here where he uses a few lines of the Python SDK to serialize data collections into a JSON file and then re-serialize them back:
Here’s the full set of SDK documentation if you want to get into writing more of your own components:
https://discourse.ladybug.tools/pub/ladybug-tools-core-sdk-documentation