# -*- coding: utf-8 -*-



# Initialize Qt resources from file resources.py
import sys, os
# add path
sys.path.append('C:\\Users\\iacopo.borsi\\.qgis2\\python\\plugins\\freewat')


# Import the code for the dialog
from flopy.modflow import *
import numpy as np
#

# Load Modflow Model
namefile = 'C:\\Users\\iacopo.borsi\\FREEWAT\\Corsi\\unsat_zaragoza\\unsat.nam'
ml = Modflow.load(namefile, version='mf2005', model_ws='C:\\Users\\iacopo.borsi\\FREEWAT\\Corsi\\unsat_tartu', exe_name = 'C:\modflow\mf2005.exe')


nrow, ncol, nlay, nper = ml.nrow_ncol_nlay_nper

#bas = ModflowUzf1.load(os.path.join(ml.model_ws, 'unsat.uzf'), ml)
#thts = uzf.thts.get_value()



