pyGrav_main.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:pyGrav 作者: basileh 项目源码 文件源码
def load_start_end_dates(self):
        """
        function for loading start and end dates of each survey we want to 
        process. File format is
        yyy/mm/dd hh:mn:ss yyy/mm/dd hh:mn:ss 
        yyy/mm/dd hh:mn:ss yyy/mm/dd hh:mn:ss 
        ...

        update the Campaign object stored in the program by populating its
        survey dictionary

        """
        #set the survey selection option required by the survey populating 
        #function:        
        self.survey_selection_option=2
        print 'hold on a sec'
        self.statusBar().showMessage("Hold on a sec")        
        fname = QtGui.QFileDialog.getOpenFileName(self, 'Open file',self.data_path)          
        self.surveydates=read_start_end_dates(fname)        
        #call the next generic step of the survey selection process        
        self.baseStationSelection()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号