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
code :- import utils.data_cube_utilities.plotter_utils as plotter
plotter.plot_band(cleaned_landsat_dataset, ndvi_data_arr)
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
--> 657 within plotter_utils.py mask = ~np.isnan(means) & ~np.isnan(medians)
Notebook name :- NDVI_Thresholds
The text was updated successfully, but these errors were encountered:
the error can be fixed by replacing np.isnan with pd.isnull
however, the next immediate line throws an error. This is because the method is not defined to receive two xarray datasets as arguments and is as follows :-
code :- import utils.data_cube_utilities.plotter_utils as plotter
plotter.plot_band(cleaned_landsat_dataset, ndvi_data_arr)
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
--> 657 within plotter_utils.py mask = ~np.isnan(means) & ~np.isnan(medians)
Notebook name :- NDVI_Thresholds
The text was updated successfully, but these errors were encountered: