Comments (11)
Good suggestion from @rplzzz : let's include a harcoded version for now, that appears at head of all logs and outputs, pulling from a version.hpp
. Later, we'll make this more dynamic, and include Git build hash too.
from hector.
With regards including the version in the output: what do we want that to look like? Do we want to assume some format for a header line? Do we want to include it in every row of output?
from hector.
I am leaning towards a header row with that information.
from hector.
I agree–a single header line in the log (and every visitor output, ideally). E.g.:
Thu Feb 5 12:21:03 2015:DEBUG: Hector version 1.0
Thu Feb 5 12:21:03 2015:DEBUG:init: hello bc
Thu Feb 5 12:24:15 2015:DEBUG:setData: Setting BC_emissions[1765]=0
from hector.
Ok so should I add a header line to the csv output with
# Output from MODEL_NAME version MODEL_VERSION
However is this going to break any R scripts? Doing a quick look it doesn't look like it is expecting any comment.char
from hector.
Yes, it's definitely going to break scripts. But we can fix this, and I think it's worth it to have a header line.
Let's say the logs will look like my previous post above; and the CSV outputs will begin with a line like
# Output from Hector version 1.0
since we're already using # as our comment char in the inputs?
from hector.
Sounds good. I updated op_parser.R as well to set the comment.char="#"
from hector.
Thanks, Pralit.
from hector.
Whoops, I just realized the INI comment character is ;
while now in outputs it's #
. We should standardize? Any preference @cahartin @rplzzz @pralitp ?
from hector.
I think #
is more common and it is already used in the comparison data so I am leaning towards that.
from hector.
Yes, agreed, plus it's used in the R scripts as well. I'll commit the change if no objections.
from hector.
Related Issues (20)
- Hector vignette for installing Rtools HOT 3
- Scheduled Actions shouldn't run on forks
- Improve fetchvars documenation HOT 1
- Add CH4->CO2 oxidation
- atuo generate fxntable
- Paper to add to Hector publications list HOT 1
- Notes for ms revision
- Permafrost refreeze from soil is disabled
- Replace Dorheim et al. in prep with manuscript information
- Verbosity HOT 1
- Documentation Issues
- Update Hector default parameters in the ini files
- Revision checklist HOT 2
- Potential high latitude comparison
- Outputstream example files
- Values for 1745/1746 HOT 1
- Reference period of Readme figure
- NBP constraint crashes model in some circumstances HOT 2
- Automating X number of ensemble runs with unique parameter values HOT 8
- Reminder: add Matilda to documentation
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 hector.