コード例 #1
0
ファイル: snow_base.py プロジェクト: mcflugen/topoflow
 def close_output_files(self):
 
     if (self.SAVE_MR_GRIDS): model_output.close_gs_file( self, 'mr')   
     if (self.SAVE_HS_GRIDS): model_output.close_gs_file( self, 'hs')   
     if (self.SAVE_SW_GRIDS): model_output.close_gs_file( self, 'sw')   
     if (self.SAVE_CC_GRIDS): model_output.close_gs_file( self, 'cc')
     #-----------------------------------------------------------------        
     if (self.SAVE_MR_PIXELS): model_output.close_ts_file( self, 'mr')  
     if (self.SAVE_HS_PIXELS): model_output.close_ts_file( self, 'hs')   
     if (self.SAVE_SW_PIXELS): model_output.close_ts_file( self, 'sw')   
     if (self.SAVE_CC_PIXELS): model_output.close_ts_file( self, 'cc')
コード例 #2
0
 def close_output_files(self):
 
     if (self.SAVE_MR_GRIDS): model_output.close_gs_file( self, 'mr')   
     if (self.SAVE_HS_GRIDS): model_output.close_gs_file( self, 'hs')   
     if (self.SAVE_SW_GRIDS): model_output.close_gs_file( self, 'sw')   
     if (self.SAVE_CC_GRIDS): model_output.close_gs_file( self, 'cc')
     #-----------------------------------------------------------------        
     if (self.SAVE_MR_PIXELS): model_output.close_ts_file( self, 'mr')  
     if (self.SAVE_HS_PIXELS): model_output.close_ts_file( self, 'hs')   
     if (self.SAVE_SW_PIXELS): model_output.close_ts_file( self, 'sw')   
     if (self.SAVE_CC_PIXELS): model_output.close_ts_file( self, 'cc')
コード例 #3
0
    def close_output_files(self):

        if (self.SAVE_HI_GRIDS): model_output.close_gs_file(self, 'hi')
        if (self.SAVE_ZI_GRIDS): model_output.close_gs_file(self, 'zi')
        if (self.SAVE_MR_GRIDS): model_output.close_gs_file(self, 'mr')
        #-----------------------------------------------------------------
        if (self.SAVE_HI_PIXELS): model_output.close_ts_file(self, 'hi')
        if (self.SAVE_ZI_PIXELS): model_output.close_ts_file(self, 'zi')
        if (self.SAVE_MR_PIXELS): model_output.close_ts_file(self, 'mr')
コード例 #4
0
ファイル: ice_base.py プロジェクト: mcflugen/topoflow
 def close_output_files(self):
 
     if (self.SAVE_HI_GRIDS):  model_output.close_gs_file( self, 'hi') 
     if (self.SAVE_ZI_GRIDS):  model_output.close_gs_file( self, 'zi') 
     if (self.SAVE_MR_GRIDS):  model_output.close_gs_file( self, 'mr')  
     #-----------------------------------------------------------------
     if (self.SAVE_HI_PIXELS): model_output.close_ts_file( self, 'hi')
     if (self.SAVE_ZI_PIXELS): model_output.close_ts_file( self, 'zi')
     if (self.SAVE_MR_PIXELS): model_output.close_ts_file( self, 'mr')