daquinterop / Py_DSSATTools

A Python library for crop modeling using DSSAT
GNU General Public License v3.0
45 stars 16 forks source link

read an existing weather file (WTH) #24

Closed taynaravaleriano closed 7 months ago

taynaravaleriano commented 7 months ago

Hi @daquinterop , how are you?

I would like to know if it is possible to read a WTH file, instead of creating one to run

daquinterop commented 7 months ago

Hi @taynaravaleriano. There is not the option of creating a Weather object by reading a WTH file. However, it is really easy to read the WTH file using pandas, to latter use it to create a Weather instance. You can see and example here.