Beispiel #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()
Beispiel #2
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()
Beispiel #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()
Beispiel #4
0
 def data_start(self):
     """
     The first date we have data for.
     """
     ctime = cfunc.get_data_start( self )
     return ctime.date()
Beispiel #5
0
 def end_date(self):
     """
     The date of the last (loaded) time step.
     """
     ctime = cfunc.get_end_date( self )
     return ctime.date()
Beispiel #6
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()
Beispiel #7
0
 def data_start(self):
     """
     The first date we have data for.
     """
     ctime = cfunc.get_data_start(self)
     return ctime.date()
Beispiel #8
0
 def end_date(self):
     """
     The date of the last (loaded) time step.
     """
     ctime = cfunc.get_end_date(self)
     return ctime.date()