hey iam having error : module ‘wradlib’ has no attribute ‘clutter’ when iam doing gabella clutter remove in my cfardial files,can you help me with this
Hey
How are you importing wradlib package? I suspect you have overwritten some variables, or there is some sort of memory error. Does this error persist if you restart Kernel (from the Kernel menu, select Restart Kernel) and rerun all your code?
Or it might be a version issue (although I doubt that). Please tell the output of print(wrl.__version__)
.
@ankithva I believe the function is registered to the xarray data array obj:
https://docs.wradlib.org/en/latest/notebooks/classify/clutter_gabella.html
So its called as a function from the obj itself which is why its not finding the import. I would maybe try getting it into a wradlib dataarray obj.
Others might have more info as well, but that’s what I can see so far from an initial glance.
Hi all,
Since wradlib 2.0 the clutter
-module was integrated into classify
-module.
Just use classify
instead of clutter
when calling these functions.
Please also check with wradlib 2.0 migration — wradlib
HTH,
Kai
2.0.0 is the version
Thankyou so much sir