NREL / h5plexos

Convert PLEXOS solutions to HDF5 and query results from Python
Other
5 stars 1 forks source link

Avoid rebuilding existing HDF5 files #1

Closed GordStephen closed 4 years ago

GordStephen commented 5 years ago

In some cases it may be desirable to load a system multiple times with different import properties (e.g. calculating total capacity value of a particular resource class). In these cases the zip -> HDF5 conversion is repeated each time. The HDF5 file could contain a hash of the zip file from which it was derived and skip the conversion if the output file already exists and the hashes match?

Ported from an existing NREL-internal GitHub issue

GordStephen commented 5 years ago

I'm experimenting with just using Make to accomplish this outside of h5plexos - might be nice to avoid complexity in the core package itself.

GordStephen commented 4 years ago

Closing this, Make is a better option.