Hi Renish,

Yes, this part is a complex and could need some more examples. However, this part will be modified in a big overhaul of the handling of scattering properties that Simon is working on and this makes us all a bit reluctant to add examples right now.

1.)  So, the "Mass_content" , "Xmean" and "Temperature" are the only fields that I need to provide in the particle_bulkprop_field?

This depends on the PSDs you are using. In TestScatSolvers.arts this field holds IWC and RWC, which are sufficient for the selected PSDs, but if you want to use psdModifiedGammaMassXmean, you need to include data on the mean size.

2.) Do I need to set the pnd_agenda_input manually , or does it take values from the Bulkprop_fields?

No, but you need to link the naming in particle_bulkprop_field to the pnd_agenda_input. In your case it could look this

ArrayOfStringSet( pnd_agenda_input_names, [ "IWC", "Dmean" ]

3.)  Are there other examples for this method that I can refer to?

Which method? (But the answer is likely anyhow no)

4.) Also, when I run the example "TestScatSolvers.arts" modified to use PSD from psdModifiedGammaMassXmean(). I get this error

Exception: Call to ARTS WSM pnd_fieldCalcFromParticleBulkProps failed with error: *scat_data* and *scat_species* are inconsistent in size.

The scattering data in TestScatSolvers.arts cover both IWC and RWC. if you have changed and just work with one hydrometeor type, you need to modify the scattering data accordingly.

I hope this was of some help,

arts_users.mi mailing list

Reply via email to