fengyanshi / FUNWAVE-TVD

43 stars 51 forks source link

Temporary fix for stations and vessel I/O #45

Closed mayhl closed 3 years ago

mayhl commented 3 years ago

Came across a I/O (lock?) bug with the vessel module and 100+ stations. Looking into the code it seems to be and issue with the UNIT #'s. The stations files use UNIT #, 100 + Station # and the vessel files use UNIT # 200 + Vessel #. I changed the starting index to 2000, which is not a complete fix, but will at least allow up to 1900 stations with the vessel module.