openwfm / wrfxpy

WRF-SFIRE data acquisitiion, forecasting, data assimilation, and visualization in Python.
MIT License
37 stars 17 forks source link

Create unique default shuttle_lock_file in etc/conf.json #59

Open janmandel opened 4 years ago

janmandel commented 4 years ago

Create unique default shuttle_lock_file in etc/conf.json from shuttle_remote_root absolute path. Setting the lock file manually makes it possible that user has two instances of wrfxpy writing to the same instance of wrfxweb with two different lock files, thus rendering the file locking ineffective and resulting in race condition and possible catalog corruption.