kconnour / pyRT_DISORT

A Python package for helping to compute input arrays to DISORT.
https://kconnour.github.io/pyRT_DISORT/
BSD 3-Clause "New" or "Revised" License
14 stars 5 forks source link

Inconsistency in running `spacecraft_retrievals` #31

Open AStcherbinine opened 2 months ago

AStcherbinine commented 2 months ago

Hi Kyle,

We just realized that running the code of the spacecraft retrieval example do not produce the expected values (as of Today 25/04/2024) with the last version.

Below is the output, there are small differences already in the print(np.sum(raileight_co2.optical_depth, axis=0)) (first displayed array).

image

Does it come from the units update with the merge of PR #26 ?

Also, it raises a TypeError on the PRNT = None when running DISORT:

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

Fixed by setting PRNT = [False, False, False, False, False]