Exemplo n.º 1
0
    def start_date(self):
        """
        A Python date instance with the start date.

        The start time is taken from the SMSPEC file, and in case not
        all timesteps have been loaded, e.g. for a restarted case, the
        returned start_date might be different from the datetime of
        the first (loaded) timestep.
        """
        ctime = cfunc.get_start_date( self ) 
        return ctime.date()
Exemplo n.º 2
0
Arquivo: ecl_sum.py Projeto: rolk/ert
    def start_date(self):
        """
        A Python date instance with the start date.

        The start time is taken from the SMSPEC file, and in case not
        all timesteps have been loaded, e.g. for a restarted case, the
        returned start_date might be different from the datetime of
        the first (loaded) timestep.
        """
        ctime = cfunc.get_start_date(self)
        return ctime.date()
Exemplo n.º 3
0
 def get_report_time( self , report):
     """
     Will return the datetime corresponding to the report_step @report.
     """
     ctime = cfunc.get_report_time( self , report )
     return ctime.date()
Exemplo n.º 4
0
 def data_start(self):
     """
     The first date we have data for.
     """
     ctime = cfunc.get_data_start( self )
     return ctime.date()
Exemplo n.º 5
0
 def end_date(self):
     """
     The date of the last (loaded) time step.
     """
     ctime = cfunc.get_end_date( self )
     return ctime.date()
Exemplo n.º 6
0
Arquivo: ecl_sum.py Projeto: rolk/ert
 def get_report_time(self, report):
     """
     Will return the datetime corresponding to the report_step @report.
     """
     ctime = cfunc.get_report_time(self, report)
     return ctime.date()
Exemplo n.º 7
0
Arquivo: ecl_sum.py Projeto: rolk/ert
 def data_start(self):
     """
     The first date we have data for.
     """
     ctime = cfunc.get_data_start(self)
     return ctime.date()
Exemplo n.º 8
0
Arquivo: ecl_sum.py Projeto: rolk/ert
 def end_date(self):
     """
     The date of the last (loaded) time step.
     """
     ctime = cfunc.get_end_date(self)
     return ctime.date()