Skip to content

Commit

Permalink
Merge branch 'develop' into feature/atms_npp_bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzemc authored Dec 17, 2024
2 parents 71995c6 + a8c5df3 commit cff8b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rrfs-test/IODA/offline_domain_check_satrad.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def shrink_boundary(points, centroid, factor=0.01):
if 'Channel' not in fout.dimensions and channel_size > 0:
fout.createDimension('Channel', channel_size)
fout.createVariable('Channel', 'int32', 'Channel', fill_value=fill_value)
fout.variables['Channel'][:] = np.arange(channel_size) + 1 #since python indicies start at 0
fout.variables['Channel'][:] = obs_ds.variables['Channel'][:]
for attr in obs_ds.variables['Channel'].ncattrs(): # Attributes for Location variable
if attr != '_FillValue':
fout.variables['Channel'].setncattr(attr, obs_ds.variables['Channel'].getncattr(attr))
Expand Down

0 comments on commit cff8b4c

Please sign in to comment.