cgmorton / et-demands

Crop ET Demands Model
5 stars 5 forks source link

Don't "import shapefile" (from PyShp) globally in et_cell.py #10

Closed cgmorton closed 8 years ago

cgmorton commented 8 years ago

The shapefile module is only needed if reading spatial crop parameters and should not be imported when running using static crop parameters. Either move the import into the function call or move the function to a separate module.