uaf-arctic-eco-modeling / dvm-dos-tem

A process based Dynamic Vegetation, Dynamic Organic Soil, Terrestrial Ecosystem Model.
MIT License
22 stars 24 forks source link

fix issue with calibration-viewer and --from-archive behavior #215

Open tobeycarman opened 8 years ago

tobeycarman commented 8 years ago

While the calibration-viewer.py script will work with data from .tar.gz archives that can be stored at arbitrary locations, the viewer will not work if two instances of the viewer are run at the same time, sourcing data from different archives. The problem has to do with how and where the data is temporarily extracted.

This issue would benefit from taking a more comprehensive look at both the behavior of the model when it is outputting/archving json data as well as the behavior of the viewer when it extracts and searches for files to display.

tobeycarman commented 8 years ago

Maybe this is not an issue?

Running with -l debug, (and looking at the code), it appears that the extracted archive location is cleared every time the viewer starts, and since the viewer is forced to be static when displaying from an archive, maybe there should be no issue?