KMarkert / servir-vic-training

Training materials for the VIC hydrologic model setup developed for the @SERVIR program
GNU General Public License v3.0
36 stars 32 forks source link

Update flux2nc.py #22

Closed giaMSU closed 4 years ago

giaMSU commented 4 years ago

Fix errors 1/ AttributeError: module 'string' has no attribute 'split' ###replaced string.split(...) by str.split(...) 2/ '<' not supported between instances of 'str' and 'int' ###replaced input(...) by int(input(...)) 3/ Error with date format 'start_year, 01,01'.

giaMSU commented 4 years ago

Hi Market, My python is 3.7.6 Best

KMarkert commented 4 years ago

Great, thank you. PR merged! Please submit more PRs if anything else comes up 🙂