Giter VIP home page Giter VIP logo

Comments (11)

bpbond avatar bpbond commented on May 29, 2024

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.

pralitp avatar pralitp commented on May 29, 2024

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.

cahartin avatar cahartin commented on May 29, 2024

I am leaning towards a header row with that information.

from hector.

bpbond avatar bpbond commented on May 29, 2024

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.

pralitp avatar pralitp commented on May 29, 2024

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.

bpbond avatar bpbond commented on May 29, 2024

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.

pralitp avatar pralitp commented on May 29, 2024

Sounds good. I updated op_parser.R as well to set the comment.char="#"

from hector.

bpbond avatar bpbond commented on May 29, 2024

Thanks, Pralit.

from hector.

bpbond avatar bpbond commented on May 29, 2024

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.

pralitp avatar pralitp commented on May 29, 2024

I think # is more common and it is already used in the comparison data so I am leaning towards that.

from hector.

bpbond avatar bpbond commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.