After ingesting scenarios files, the CLI updates the model record with min/max values for range filters, but it not doing it properly for timesteped range filters. The query below attemps to compute min/max from a filter key that doesn't include a timestep on it and is not available. It should be changed to compute min/max values from all filter timesteps:
After ingesting scenarios files, the CLI updates the model record with min/max values for range filters, but it not doing it properly for timesteped range filters. The query below attemps to compute min/max from a filter key that doesn't include a timestep on it and is not available. It should be changed to compute min/max values from all filter timesteps:
https://github.com/global-electrification-platform/data-service/blob/master/cli/models.js#L176-L189