Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas512 committed Mar 12, 2024
1 parent 1a320b9 commit 435e38d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions globsim/interpolate/JRAinterpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion globsim/scale/JRAscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 435e38d

Please sign in to comment.