Comments (2)
I just tested. If an EIC is missing from the eic_info.py file, the run fails and says:
File "ESTA/src/emissions/emfac2014csvloader.py", line 149, in read_emfac_file
value = np.float32(ln[-1]) * np.float32(self.eic_info[eic][2])
KeyError: 71073411000000
The question is: Is that the functionality we want? We could also:
- Throw a better error that says the problem specifically
- Drop all emissions from that EIC, and state that we did so
- Default that EIC to something (say "vmt" and 1.0)
from esta.
Okay, after some deliberation, the decision was made to take open (1) above. The run should still fail, but it should yield a more helpful error message.
from esta.
Related Issues (20)
- Seasons by GAI HOT 1
- NOx defaults by Year
- Output file name HOT 3
- Update Documentation - New CSVs HOT 1
- Can we add a simple output report of daily totals by coabdis and eic?
- CSV, not PMEDS HOT 4
- More varied grid examples? HOT 2
- GRIDCRO2D HOT 1
- Upgrade SMOKE surrogate version HOT 1
- Remove DTIM Testing code HOT 2
- SmokeSpatialSurrogateLoader
- ESTA should be able to handle multiple INI files
- Remove the first column from eic_info.py HOT 2
- Add Optional DPM to NetCDF files HOT 4
- Update ESTA to handle EMFAC2017 HOT 1
- Can ESTA process toxics? HOT 2
- Try ITN for VMT Surrogates
- Future-Year CSTDM?
- Fix CALVAD spatial surrogates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esta.