Error around soil properties-easy set up-sediment

43 views
Skip to first unread message

Zainab Nisar

unread,
Jun 27, 2016, 12:30:05 PM6/27/16
to Shetran
Hi Steve

I am using easy set up-sediment and I have prepared the xml library file and the corresponding ascii files and when I try to run it, I get the message in the command window ' error reading xml library file. Around soil properties are incorrect'.  I have checked the soil properties section in the xml file and I can't seem to find the possible error there. I would really appreciate some help with regards to this. I have attached my folder with all the ascii files and the xml file.

Thanks

Best Regards
Zainab Nisar
Gumera.zip

Steve Birkinshaw

unread,
Jun 28, 2016, 3:48:03 AM6/28/16
to Shetran
Hi Zainab,

The main problem is that there was a space in the soil name in the soil properties. So instead of this

<SoilProperty>1, Clay Loam, 0.489,  0.153,  0.055,  0.923E-02,  1.657</SoilProperty>

It needs to be this:

<SoilProperty>1, ClayLoam, 0.489,  0.153,  0.055,  0.923E-02,  1.657</SoilProperty>

Thanks for pointing this out. In the short term I will make sure this is highlighted in the example datasets (in the longer term I will change the code to allow this).

There are some other things that I needed to change to make it work:
1) The land-use numbers I changed to 1 to 7 (see attached)
2) the DEM's had different number of rows and columns
3) it cannot read an Excel file for the rain and evaporation data (but it can read a CSV file)

Let me know if you are still having problems.

Regards,
Steve
Xml library file.xml
landasciigumera.txt

Zainab Nisar

unread,
Jun 29, 2016, 12:53:03 PM6/29/16
to Shetran
Thanks a lot Steve. I realised the mistake with DEM and I resolved it and It worked but of course I have to improve my data to get better results
Reply all
Reply to author
Forward
0 new messages