Dear Pytroll group,
My name is Elyakom and I work in the Israel Meteorological Service R&D department.
We've been using successfully and operationally the python-pytroll package for 3 years now.
I was trying to create a "day microphysics" from MSG-IODC data using satpy, and got the attached error.
I wonder maybe you have solution?
If necessary I can send code and data to run it.
Thank you in advance,
Best regards,
Elyakom Vadislavsky
R&D department
IMS
Error message:
File "/usr/local/lib/python3.6/site-packages/satpy/modifiers/spectral.py", line 70, in __call__
return self._get_reflectance_as_dataarray(projectables, optional_datasets)
File "/usr/local/lib/python3.6/site-packages/satpy/modifiers/spectral.py", line 81, in _get_reflectance_as_dataarray
reflectance = self._get_reflectance_as_dask(da_nir, da_tb11, da_tb13_4, da_sun_zenith, _nir.attrs)
File "/usr/local/lib/python3.6/site-packages/satpy/modifiers/spectral.py", line 124, in _get_reflectance_as_dask
reflectance_3x_calculator = self._init_reflectance_calculator(metadata)
File "/usr/local/lib/python3.6/site-packages/satpy/modifiers/spectral.py", line 135, in _init_reflectance_calculator
masking_limit=self.masking_limit)
TypeError: __init__() got an unexpected keyword argument 'masking_limit'
Dear Martin,
Thank you very much for your help.
It worked well, attached the screenshot of the image.
Many thanks,
Best regards,
Elyakom
-----Original Message-----
From: pyt...@googlegroups.com [mailto:pyt...@googlegroups.com] On Behalf Of Raspaud Martin
Sent: Tuesday, March 2, 2021 5:42 PM
To: pyt...@googlegroups.com
Cc: Vladimir Meerson <meer...@ims.gov.il>
Subject: Re: [pytroll] Trying to create day microphysics image using satpy
Dear Elyakom,
--
You received this message because you are subscribed to the Google Groups "pytroll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytroll+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pytroll/908dfaa5b880b643bcba8d6877265d802b981873.camel%40smhi.se.