Commit 806eb73
Refactor emissions.py to use cached Nordic energy mix data
- Replace direct JSON file loading with cached data retrieval
- Use self._data_source.get_nordic_country_energy_mix_data() method
- Improves performance by eliminating repeated file I/O operations
- Part of implementation for PR #1039 reviewer feedback1 parent e7e6f2c commit 806eb73
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 186 | + | |
| 187 | + | |
191 | 188 | | |
192 | 189 | | |
193 | 190 | | |
| |||
0 commit comments