From 435e38d956f1f6e6575d7df61483783fbbaff9f0 Mon Sep 17 00:00:00 2001 From: Nick Brownn Date: Thu, 7 Mar 2024 23:20:30 +0000 Subject: [PATCH] remove debug statements --- globsim/interpolate/JRAinterpolate.py | 4 ++-- globsim/scale/JRAscale.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/globsim/interpolate/JRAinterpolate.py b/globsim/interpolate/JRAinterpolate.py index f112141..81db7b4 100644 --- a/globsim/interpolate/JRAinterpolate.py +++ b/globsim/interpolate/JRAinterpolate.py @@ -67,7 +67,7 @@ def __init__(self, ifile, **kwargs): self.mf_sa = nc.MFDataset(path.join(self.input_dir, f'{self.REANALYSIS}_sa_*.nc'), 'r', aggdim="time") self.mf_sf = nc.MFDataset(path.join(self.input_dir, f'{self.REANALYSIS}_sf_*.nc'), 'r', aggdim="time") self.mf_pl = nc.MFDataset(path.join(self.input_dir, f'{self.REANALYSIS}_pl_*.nc'), 'r', aggdim="time") - + # Check dataset integrity logger.info("Check data integrity (sa)") self.ensure_datset_integrity(self.mf_sa['time'], self.SA_INTERVAL) @@ -160,7 +160,7 @@ def JRA2station(self, ncf_in: "nc.MFDataset", ncfile_out, points, # Create source grid sgrid = self.create_source_grid(ncf_in) subset_grid, lon_slice, lat_slice = self.create_subset_source_grid(sgrid, self.stations_bbox) - + # loop over chunks for n in range(niter): # indices diff --git a/globsim/scale/JRAscale.py b/globsim/scale/JRAscale.py index c1aa5bd..65c234c 100755 --- a/globsim/scale/JRAscale.py +++ b/globsim/scale/JRAscale.py @@ -218,7 +218,6 @@ def AIRT_redcapp(self): # add variable to ncdf file var = redcapp.add_var_delta_T(self.rg) - # import pdb;pdb.set_trace() # get T from surface level T_sa = self.get_values("sa", "Temperature") # get grid surface elevation from geopotential (Cao: elev. @ coarse-scale topography)