Henry80074 / marine_plastic_density_mapper

1 stars 1 forks source link

ACOLITE crashing without warning. #1

Open Henry80074 opened 1 year ago

Henry80074 commented 1 year ago

Appears to be related to multi-threading with pool.

Henry80074 commented 1 year ago

multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/home/henry/anaconda3/envs/mapper/lib/python3.10/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, *kwds)) File "/home/henry/anaconda3/envs/mapper/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar return list(map(args)) File "/home/henry/PycharmProjects/plastic_pipeline_conda/acolite_api/acolite_processor.py", line 22, in run_acolite ac.acolite.acolite_run(settings=settings) File "/home/henry/PycharmProjects/plastic_pipeline_conda/acolite-main/acolite/acolite/acolite_run.py", line 116, in acolite_run ret = ac.acolite.acolite_l2r(l1r, settings = l1r_setu, verbosity = ac.config['verbosity']) File "/home/henry/PycharmProjects/plastic_pipeline_conda/acolite-main/acolite/acolite/acolite_l2r.py", line 1367, in acolite_l2r Rf_sen[b] = ac.ac.sky_refl(omega, n_w=refri_sen[b]) File "/home/henry/PycharmProjects/plastic_pipeline_conda/acolite-main/acolite/ac/rayleigh.py", line 53, in sky_refl r_int=0.5*(power(sin(theta-theta_t)/sin(theta+theta_t),2)+\ FloatingPointError: underflow encountered in divide """

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/henry/PycharmProjects/plastic_pipeline_conda/run.py", line 357, in print(p.map(run_acolite, bundles)) File "/home/henry/anaconda3/envs/mapper/lib/python3.10/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() File "/home/henry/anaconda3/envs/mapper/lib/python3.10/multiprocessing/pool.py", line 774, in get raise self._value FloatingPointError: underflow encountered in divide (mapper) henry@henry-linux:~/PycharmProjects/plastic_pipeline_conda$ 5