Commit 9bdf6336 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent f77c0647
Loading
Loading
Loading
Loading
Loading
+18 −6
Original line number Diff line number Diff line
@@ -5519,10 +5519,15 @@ class IFSsimulator():

        # if self.debug:
        #     exptimes=1

        if exptimes>1:
            self.image_b_N = np.zeros((1344, 9672, exptimes))
    
            self.image_r_N = np.zeros((1856, 13768, exptimes))
        else:
            self.image_b_N = np.zeros((1344, 9672))
    
            self.image_r_N = np.zeros((1856, 13768))
            

        for idk in range(exptimes):

@@ -5591,8 +5596,15 @@ class IFSsimulator():

            self.discretise()
            
            self.image_b_N[:, :, idk] = self.image_b[:, :]
            self.image_r_N[:, :, idk] = self.image_r[:, :]
            
            if exptimes>1:

                self.image_b_N[:, :, idk] = self.image_b[:, :].copy()
                self.image_r_N[:, :, idk] = self.image_r[:, :].copy()
            else:
                self.image_b_N[:, :] = self.image_b[:, :].copy()
                self.image_r_N[:, :] = self.image_r[:, :].copy()
                

        self.writeOutputs(simnumber)