NREL / bifacial_radiance

Toolkit for working with RADIANCE for the ray-trace modeling of Bifacial Photovoltaics
https://bifacial-radiance.readthedocs.io
BSD 3-Clause "New" or "Revised" License
91 stars 48 forks source link

loadtrackerdict isn't updated in development #557

Open cdeline opened 1 month ago

cdeline commented 1 month ago

RadianceObj.loadtrackerdict and load.loadTrackerDict and load._exportTrackerDict needs to be updated for new trackerdict configuration and pytested

cdeline commented 1 month ago

Maybe just deprecate this function, replace with a pickle dump / load with checks for pandas versions (?)

cdeline commented 1 month ago

Desired functionality: enable saving, re-loading and copying a RadianceObj so it can be brought up on different HPC threads, and pointing back to the original directory structure unless modified afterwards. (copy.deepcopy type functionality)

cdeline commented 1 month ago

for loadtrackerdict specifically, the original functionality can be accomplished by making an analysisObj from results in the directory, then stuff that into the correct trackerDict key. test files in the \tests directory like 'test_2001-01-01_0800.csv' need to be updated to match current results output format, like with 'rearX' columns..