def METHOD_NAME(lat, lng):
    """
    Convert latitude, longitude into integer values for wind tool kit database.
    Modified from "indicesForCoord" in https://github.com/NREL/hsds-examples/blob/master/notebooks/01_introduction.ipynb
    Questions? Perr-Sauer, Jordan <Jordan.Perr-Sauer@nrel.gov>
    :param db_conn: h5pyd.File, database connection
    :param latitude:
    :param longitude:
    :return: (y, x) values to index into db_conn
    """
    #dset = h5pyd.File("/nrel/wtk-us.h5", 'r')['coordinates']
    projstring = """+proj=lcc +lat_1=30 +lat_2=60 
                    +lat_0=38.47240422490422 +lon_0=-96.0 
                    +x_0=0 +y_0=0 +ellps=sphere 
                    +units=m +no_defs """
    projectLcc = Proj(projstring)
    origin_ll = reversed(WTK_ORIGIN)  # origin_ll = reversed(dset[0][0])  to grab origin directly from database
    origin = projectLcc(*origin_ll)
    point = projectLcc(lng, lat)
    delta = np.subtract(point, origin)
    x,y = [int(round(x / 2000)) for x in delta]
    y_max, x_max = WTK_SHAPE # dset.shape to grab shape directly  from database
    if (x<0) or (y<0) or (x>=x_max) or (y>=y_max):
        raise ValueError("Latitude/Longitude is outside of wind resource dataset bounds.")
    return y,x