fnemina / pyOSOAA

pyOSOAA is a python interface for the Ocean Successive Orders with Atmosphere - Advanced (OSOAA) radiative transfer.
GNU General Public License v3.0
20 stars 6 forks source link

SED class has no default value #28

Closed ghost closed 5 years ago

ghost commented 5 years ago

When i set sediment concentration s.sed.csed = 0.2. Error:

OSOAA_MAIN : ERROR_2640 on parameters
   -->  Junge model for Mineral-Like Particles
        is required (-Keyword Value)  : 
           -SED.JD.slope (Float): Slope.
           -SED.JD.MRwa (Float): 
                real part of refractive index.
           -SED.JD.MIwa (Float): 
                imaginary part of refractive index.
           -SED.JD.rate (Float): Ratio of this mode
                for Mineral-Like Particles.

There is no default value for this value in your source code, can you add it?

fnemina commented 5 years ago

A value was added for the Junge model 046f80bc59ec3de7dc306cfefdcd3d53b7af532e.

Please run to configure it

s.sed.csed = 0.2
s.sed.SetPrimaryMode()
s.run()

You can check this paper for more valued for the refractive index.

ghost commented 5 years ago

Thank you. It's really good.