Closed newbthenewbd closed 7 months ago
@newbthenewbd you can also commit the python script so you don't need to paste it in the description 😉
It's a different one every time :-) Doesn't it then end in someone's ruby gems?
Edit: as in to mean, I just create them for ad-hoc purposes, but if you find them useful :)
Anyways, hold on with this, I guess, for what's going on over at #19...
Since, if we're only using rows-H, might as well force push that variant to the PR :) Do we, @ronaldtse?
Since, if we're only using rows-H, might as well force push that variant to the PR :) Do we, @ronaldtse?
Later on we have to also create tables that use lookup with "small h" (geometric altitude), so we should add those methods.
Table 5
Table 6 <img width="644" alt="Screenshot 2024-02-09 at 10 48 07 AM" src="https://github.com/metanorma/atmospheric/assets/11865/5b474ef3-047b-49fa-8aa8-f64519393042">
Table 7
Hmm, so something like two separate test files? That can be done :)
@newbthenewbd sounds like a reasonable idea?
You might prefer to use a YAML library to write out the values?
Well sure, that's why the scripts are ad-hoc :-) Do we need better-made ones?
Like, I'd kind of been spending the better mental on trying to think up why the remaining tests fail, realize this is horrendous... :)
Any broad categories of failures do you see?
Well sure, that's why the scripts are ad-hoc :-) Do we need better-made ones?
This is fine… it’s a one time processing.
The goal is really to regenerate the tables through code.
Any broad categories of failures do you see?
Too imprecise computation, bad assumptions about the test data (like what I am working on right now, adding support for rounding to significant digits), algorithmic errors (increasingly getting fixed, I don't see one at this time)...
And another funny category, these missing p_mmhg values :)
I think/hope that with the commit above, only:
failures should remain...
So, I think now would be a good time to merge this PR, if it hadn't gotten just too crazy :) Gets us close!
@newbthenewbd next time could you please rebase the PRs on top of main
, I've done it this time. Thanks!
OK, sorry :) I'd merged them earlier with the fancy button on github, more commits, more repo, but that will work too
No problem. This works great!
Fixes #17. Converted with the following Python script:
Metanorma PR checklist