Skip to content
Snippets Groups Projects
Verified Commit abbf6780 authored by Philipp S. Sommer's avatar Philipp S. Sommer
Browse files

add missing type annotations

parent 93aa1cc2
No related branches found
No related tags found
No related merge requests found
Pipeline #512232 passed
......@@ -12,6 +12,7 @@ import struct
from typing import List
import numpy as np
import numpy.typing as npt
import xarray as xr
......@@ -35,8 +36,8 @@ def decode(netcdfObject: str) -> xr.Dataset:
extent = netcdf_json["extent"]
# init latitude and longitude arrays
lons = []
lats = []
lons: npt.ArrayLike = np.array([], dtype=float)
lats: npt.ArrayLike = np.array([], dtype=float)
dataset = {}
for parameter in parameters:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment