Browse Source

bugfix: plots using harvest

dev-gnss v1.3.2
miili 1 year ago
parent
commit
bed39fbaf9
4 changed files with 7 additions and 5 deletions
  1. +2
    -1
      CHANGELOG.md
  2. +2
    -1
      src/core.py
  3. +1
    -1
      src/targets/gnss_campaign/plot.py
  4. +2
    -2
      src/targets/satellite/plot.py

+ 2
- 1
CHANGELOG.md View File

@ -4,7 +4,7 @@ All notable changes to Grond are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [unreleased]
## [1.3.2] 2019-07-03
### Added
- Can now run target balancing with a fixed magnitude (reference event) for
@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Corrected time window calculation in `NoiseAnalyser`
- Plots not using `harvest` subset.
## [1.3.1] 2019-06-08


+ 2
- 1
src/core.py View File

@ -81,7 +81,8 @@ def forward(env):
payload = []
if env.have_rundir():
env.setup_modelling()
xbest = env.get_history().get_best_model()
history = env.get_history(subset='harvest')
xbest = history.get_best_model()
problem = env.get_problem()
ds = env.get_dataset()
payload.append((ds, problem, xbest))


+ 1
- 1
src/targets/gnss_campaign/plot.py View File

@ -46,7 +46,7 @@ class GNSSTargetMisfitPlot(PlotConfig):
def make(self, environ):
cm = environ.get_plot_collection_manager()
history = environ.get_history()
history = environ.get_history(subset='harvest')
optimiser = environ.get_optimiser()
ds = environ.get_dataset()


+ 2
- 2
src/targets/satellite/plot.py View File

@ -46,7 +46,7 @@ class SatelliteTargetDisplacement(PlotConfig):
def make(self, environ):
cm = environ.get_plot_collection_manager()
history = environ.get_history()
history = environ.get_history(subset='harvest')
optimiser = environ.get_optimiser()
ds = environ.get_dataset()
@ -363,7 +363,7 @@ class SatelliteTargetDisplacementCloseup(SatelliteTargetDisplacement):
def make(self, environ):
cm = environ.get_plot_collection_manager()
history = environ.get_history()
history = environ.get_history(subset='harvest')
optimiser = environ.get_optimiser()
ds = environ.get_dataset()


Loading…
Cancel
Save