Hi,
The reason to the error is that the method ScatSpeciesScatAndMetaRead
expects the files to hold data of type SingleScatteringData, while the
standard habits are stored as ArrayOfSingleScatteringData (to get all
data into a single file).
I am not using ScatSpeciesScatAndMetaRead myself, and I did not think
about this. I think the solution is to make a new method reading a full
scattering species from a single file. Or rather maybe the existing
method shall be renamed to
ScatSpeciesScatAndMetaReadFiles
and ScatSpeciesScatAndMetaRead shall be the one reading a full
scattering species (and thus take String as input, not an ArrayOfString).
Problem is that I don't have time for this in some time. Any volunteer?
Bye,
Patrick
On 2018-09-06 10:08, wwy wrote:
Dear All,
An error occur when I want to use the xml-files in StandardHabits in
ARTS(version-2.3.897)
I use the method as :
ScatSpeciesScatAndMetaRead(scat_data_files=["LiquidSphere.xml"])
XML parse error: Tag <SingleScatteringData> expected but <Array> found.
Check syntax of XML file
When I use the xml-file in testdata, it can be done. So how can I use
the files from single scattering database ?
Thanks
Regards
_______________________________________________
arts_users.mi mailing list
arts_users...@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi
_______________________________________________
arts_dev.mi mailing list
arts_dev.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi