Commit Graph

153 Commits

Author SHA1 Message Date
Joakim Hove
514df9c289 Merge pull request #84 from joakim-hove/delete-bug
Fix bug with TimeVector.delet()
2018-06-15 09:53:02 +02:00
Joakim Hove
b50da115b9 Fix bug with TimeVector.delet() 2018-06-14 16:03:42 +02:00
Joakim Hove
d22ba5b19a Merge pull request #83 from joakim-hove/drop-dates
Implement functionality to delete dates from TimeVector
2018-06-12 10:11:48 +02:00
Joakim Hove
7ab73165be Implement functionality to delete dates from TimeVector 2018-06-11 17:12:32 +02:00
Joakim Hove
800a4221ec Merge pull request #82 from joakim-hove/issues
Verify that first keyword in TimeVector is not dates
2018-06-11 16:56:33 +02:00
Joakim Hove
ef2384baf7 Verify that first keyword in TimeVector is not dates 2018-06-11 16:36:20 +02:00
Joakim Hove
ca4400224f Merge pull request #76 from joakim-hove/time-vector-bug
Time vector bug??
2018-05-31 21:34:13 +02:00
Joakim Hove
7dc82a43e3 Fix bug with DATES with no interleaved data 2018-05-31 21:24:37 +02:00
Joakim Hove
9f802a30ee Add utils.py with testing utilities 2018-05-31 20:48:39 +02:00
Joakim Hove
1f9de9be02 Add decorator as required module 2018-05-31 20:48:38 +02:00
Joakim Hove
4591353f68 Merge pull request #72 from joakim-hove/time-vector-reorg
Changed time_vector to start with DATES. Ignore TSTEP
2018-03-23 13:50:37 +01:00
Joakim Hove
2252a7bd33 Changed time_vector to start with DATES. Ignore TSTEP 2018-03-22 10:17:45 +01:00
Joakim Hove
23153f32ab Merge pull request #71 from joakim-hove/version-0.0.6
Set version to 0.0.6
2018-03-21 12:41:08 +01:00
Joakim Hove
83428bd716 Set version to 0.0.6 2018-03-21 12:40:41 +01:00
Joakim Hove
0ae305fc5d Merge pull request #70 from joakim-hove/version-0.0.5
Raised version to 0.0.5
2018-03-21 12:36:34 +01:00
Joakim Hove
cc82c1241e Raised version to 0.0.5 2018-03-21 12:35:48 +01:00
Joakim Hove
86625ee014 Merge pull request #69 from joakim-hove/sched-tool
Schedule merge functionality.
2018-03-20 22:16:10 +01:00
Joakim Hove
d33a5a39b6 Added class TimeVector to be used as basis for Schedule merging. 2018-03-15 10:10:01 +01:00
Kristian Reed
371f8fe59e Merge pull request #66 from ReedOnly/groupnet_v2
Add VFP table to Group
2018-02-27 14:29:53 +01:00
ReedMe
60f1ac8c67 Add vfp_table_nr to Group
VFP table nr  is added from GRUPNET for further use
related to GroupTree in Webportalen
2018-02-27 10:49:01 +01:00
Joakim Hove
baa4524a56 Merge pull request #62 from joakim-hove/opm-parser-masterII
Opm parser master ii
2018-02-23 15:54:03 +01:00
Joakim Hove
66cf592e8d Added package sunbeam.deck and function sunbeam.deck.parse() 2018-02-23 13:50:02 +01:00
Joakim Hove
83f2714766 Have create SunbeamState object for access to four top level objects. 2018-02-22 20:54:23 +01:00
Joakim Hove
c61218c496 Removed test which used to work due to side-effect 2018-02-22 15:15:28 +01:00
Joakim Hove
f22e884eb4 Merge pull request #64 from ReedOnly/python3
Python3 support
2018-02-22 10:30:15 +01:00
Kristian Reed
491c1461f2 add python 3 support and travis test 2018-02-22 10:19:32 +01:00
Joakim Hove
4f26da6e20 Merge pull request #61 from Statoil/0.0.4
Raised version number to 0.0.4
2018-02-14 21:21:03 +01:00
Joakim Hove
ee0bbb70bb Raised version number to 0.0.4 2018-02-14 21:19:15 +01:00
Pål Grønås Drange
86215b69a1 Merge pull request #58 from joakim-hove/use-pybind11
Use pybind11
2018-02-09 12:18:09 +01:00
Joakim Hove
c708381f52 Update travis to use pyenv 2018-02-08 18:53:15 +01:00
Joakim Hove
5eed642924 Fix testing of times:
- The first seven timesteps were specified as steps of length 365/7.0 days,
   when converted to seconds one second was lost due to rounding. This has been
   changed by using integer length TSTEP.

 - assertEqual() statements use full datetime; which has been shifted one full
   day forward to account for rounding errors due to the lost seconds.

 - EclipseState.getFirstRestartStep( ) is changed because we have configured to
   get restart data for the first report step every year, and that is now step 7
   instead of step 8.
2018-02-08 18:53:15 +01:00
Joakim Hove
67b30fe715 Use pybind11 as binding framework
This commit changes the api for the Schedule class, the various time related
methods now return datetime.datetime instances instead of datetime.data.
2018-02-08 18:53:15 +01:00
Joakim Hove
1566cd4e37 Change to pointer semantics in return value.
This change has been necessary to avoid premature destruction of the EclipseState
object.
2018-02-08 18:53:15 +01:00
Joakim Hove
2318c7cea4 Add pybind11 as git submodule 2018-02-08 18:35:53 +01:00
Joakim Hove
b5336fb128 Add if __name__ == "__main__" to all tests. 2018-02-08 18:35:47 +01:00
Joakim Hove
54f66af2bd Merge pull request #57 from joakim-hove/test-callable
Added if __name__ == "__main__" to test module.
2017-12-11 13:53:53 +01:00
Joakim Hove
6f6cdbc1dc Added if __name__ == "__main__" to test module. 2017-12-11 12:57:22 +01:00
Pål Grønås Drange
ffe2babdd9 Merge pull request #55 from joakim-hove/class-setup
Class setup
2017-12-06 18:01:27 +01:00
Joakim Hove
5d13eddfc8 Use setUpClass() method instead of class member variable. 2017-12-06 17:31:57 +01:00
Joakim Hove
e2a66f2bfe Using per test instance of EclipseState 2017-12-06 17:11:24 +01:00
Jens Gåsemyr Magnus
524af0dcf0 Extend Completion class implementation (#54)
* Extend Completion class implementation

Added access to several variables from the completion class. The Well
interface has been changed so that completions for any timestep can be
accessed rather than just the last.

* Bump version to 0.0.3

* Removed single space
2017-12-05 17:48:07 +01:00
abramb
69f74c858a Update the address of the submodule
The previous setting was correct, but was a bit of a problem cloning on
the linux laptop. Because of an issue with the VPN and SSH (ask Kjell
for the details), repos with git: must be cloned with the VPN off, while
repos with https: require the VPN to be on. After this change, both
sunbeam and pycmake can be cloned with the VPN off (now you can do git
clone --recursive)
2017-11-10 17:58:44 +01:00
Andrea Brambilla
d89412e238 Workaround for missing import in Equil.hpp in opm-parser 2017.10/final 2017-11-06 15:25:34 +01:00
Andrea Brambilla
c5fc5a0120 Make sunbeam compatible with opm-parser 2017.10 2017-11-06 15:25:34 +01:00
Joakim Hove
02f41b0524 Merge pull request #49 from pgdr/minor-cleanup
Remove redundant parameter
2017-10-18 08:29:26 +02:00
Pål Grønås Drange
2b9691e62c Remove redundant parameter 2017-10-17 22:15:44 +02:00
Pål Grønås Drange
800a06c253 Merge pull request #48 from joakim-hove/opm-parser-tag
Added tag instructions to Sunbeam readme.
2017-10-16 14:59:23 +02:00
Joakim Hove
490a0ac15c Use tag sunbeam-2017.10 when building opm-parser. 2017-10-16 12:12:29 +02:00
JensGM
2823c0672a Merge pull request #44 from JensGM/pydoc
Pydoc for user facing parse functions and rename action to recovery in user facing parse functions
2017-10-09 10:16:21 +02:00
Jens Gåsemyr Magnus
a1424cc2fa Pydoc for user facing parse functions
Rename action to recovery

Changed the name of actions to recoveries in the user facing parse
functions. Updated tests to reflect this.
2017-10-09 10:07:26 +02:00