respec / HSPsquared

Hydrologic Simulation Program Python (HSPsquared)
GNU Affero General Public License v3.0
43 stars 17 forks source link

Error in Preview.ipynb, Step 15 #6

Closed ethankale closed 2 years ago

ethankale commented 6 years ago

The Preview Jupyter notebook throws an error on Cell 15:

df = HSP2.readPLTGEN(pltname) df.head()

--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-15-1f9059be498a> in <module>() ----> 1 df = HSP2.readPLTGEN(pltname) 2 df.head()

AttributeError: 'module' object has no attribute 'readPLTGEN'

JasonLoveRespec commented 6 years ago

Nat - thanks for correcting this error. We had initially had numerous "helper" functions embedded into HSP2 but subsequently moved into HSP2tools as you indicated. The Preview Notebook was an initial notebook I developed and ultimately migrated to the Introduction. I meant to remove but it was pushed up to the site. We also changed a couple other things that make the Preview Notebook incorrect for Section 4. Im going to remove it from the repo.