Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Griesfeller committed Sep 10, 2024
1 parent a900ef6 commit 4a7b795
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ min_version = 4.0
skip_missing_interpreters = True
isolated_build = True
env_list =
py310
py311
format
#depends =

Expand Down
3 changes: 2 additions & 1 deletion src/pyaro_readers/actrisebas/ActrisEbasReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,14 @@ def read_data(
for s_idx, site_name in enumerate(urls_to_dl):
for f_idx, url in enumerate(urls_to_dl[site_name]):
tmp_data = xr.open_dataset(url)
long_name = tmp_data.attrs["ebas_station_name"]
# create variables valid for all measured variables...
start_time = np.asarray(tmp_data["time_bnds"][:, 0])
stop_time = np.asarray(tmp_data["time_bnds"][:, 1])
ts_no = len(start_time)
lat = np.full(ts_no, tmp_data.attrs["geospatial_lat_min"])
lon = np.full(ts_no, tmp_data.attrs["geospatial_lon_min"])
station = np.full(ts_no, tmp_data.attrs["ebas_station_name"])
station = np.full(ts_no, tmp_data.attrs["ebas_station_code"])
altitude = np.full(ts_no, tmp_data.attrs["geospatial_vertical_min"])
standard_deviation = np.full(ts_no, np.nan)

Expand Down

0 comments on commit 4a7b795

Please sign in to comment.