Skip to content

Commit

Permalink
Ref #197
Browse files Browse the repository at this point in the history
Fix handling missing station data files.
  • Loading branch information
EdwardSafford-NOAA committed Jul 3, 2024
1 parent 1951a76 commit c2fd6d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eva/data/mon_data_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,10 @@ def read_stn_ieee(self, file_name, coords, dims, ndims_used, dims_arr,
dims['ydef'] = numobs
f.close()

else:
rtn_array = np.zeros((len(vars),1,1), float)
dims['ydef'] = 1

rtn_lat = np.asarray(lat).reshape(-1)
rtn_lon = np.asarray(lon).reshape(-1)

Expand Down

0 comments on commit c2fd6d6

Please sign in to comment.