Skip to content

Port sunsch from resscript#4

Merged
berland merged 5 commits intomasterfrom
sunsch
Oct 3, 2019
Merged

Port sunsch from resscript#4
berland merged 5 commits intomasterfrom
sunsch

Conversation

@berland
Copy link
Collaborator

@berland berland commented Sep 2, 2019

Minimal port.

File hiearchy and organization of test files is up for discussion.

No endpoint yet in setup.py, awaits other merges.

@berland
Copy link
Collaborator Author

berland commented Sep 25, 2019

Rebased to #1

@berland
Copy link
Collaborator Author

berland commented Sep 30, 2019

Manually rebased and squashed after merge of #1

@berland berland requested a review from wouterjdb September 30, 2019 17:11
Copy link
Contributor

@wouterjdb wouterjdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see anything funny - I assume the script works? 😄

Copy link
Contributor

@wouterjdb wouterjdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some checks though that fail that need fixing...

@berland berland dismissed wouterjdb’s stale review October 1, 2019 13:44

Rebuild-button in Travis did it. Flaky Travis nodes is my diagnosis.

@berland berland requested a review from wouterjdb October 1, 2019 13:44
- python: '3.5'
- python: '3.6'
- python: '3.7'
# - python: '3.7' # Missing working compile setup for sunbeam
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't let this get into the main branch. Create an issue in the repository instead ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A fix before merge is welcome.


startdate - YYYY-MM-DD for the initial date in the simulation. This
date is not outputted and anything occuring before that
will be clipped (TODO)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the TODO imply?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It implies unfinished business. It is not worthy of a separate Issue, so I made it more precise instead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One should not be afraid of making issues... The smaller the better some would say ;)

parser = get_parser()
args = parser.parse_args()

# if not args.quiet and args.output != "-":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, but it is related to the pending #5

@@ -0,0 +1,307 @@
# -*- coding: utf-8 -*-
"""Tool for merging Schedule files.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should all of this go into the argparser instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, #7 could come up with some guidelines.

Output will not be generated unless the produced data is valid in
Eclipse, checking provided by sunbeam/opm-parser.

YAML-file components:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description of the yaml file could be the epilog of the argparser.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants