You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that the value error in run_interface_from_dataset (see below), should read "for frequencies other than "A", "S", or "M"" instead of "A", "M", or "D". Because that is checked in the if statement.
if pdfs_file is not None:
if frequency in ['A', 'S', 'M']:
if pdfs_file == 'builtin':
pdfs = xr.open_dataset(util.return_pdf_path(), autoclose=True)
else:
pdfs = xr.open_dataset(pdfs_file, autoclose=True)
pdf_coords = list(product(pdfs['lat'].values, pdfs['lon'].values))
tree = spatial.KDTree(pdf_coords)
coord_list_nn = [pdf_coords[int(tree.query([x])[1])] for x in coord_list]
else:
raise ValueError(
'For frequencies other than "A", "M", or "D", '
'`pdfs_file` must be explicitly set to None.'
)
The text was updated successfully, but these errors were encountered:
I think that the value error in
run_interface_from_dataset
(see below), should read "for frequencies other than "A", "S", or "M"" instead of "A", "M", or "D". Because that is checked in the if statement.The text was updated successfully, but these errors were encountered: