Skip to content

Commit

Permalink
update for test
Browse files Browse the repository at this point in the history
  • Loading branch information
changliao1025 committed Sep 25, 2023
1 parent 36cb6c5 commit 16a3fff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def intersect_flowline_with_mesh(iMesh_type_in, sFilename_mesh_in, sFilename_flo

left, right, bottom, top= pGeometry_mesh.GetEnvelope()
pBound= (left, bottom, right, top)
#aIntersect = list(index_flowline.intersection(pBound))

aIntersect = list(index_flowline.search(pBound))
for k in aIntersect:
pFeature_flowline = pLayer_flowline.GetFeature(k)
Expand Down
3 changes: 2 additions & 1 deletion pyflowline/classes/_visual_basin.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def basin_plot(self,
aFiletype_in = [2, 2, 2]
aFilename_in = [sFilename0, sFilename1, sFilename2]
map_multiple_vector_data(aFiletype_in,
aFilename_in,
aFilename_in,
iFlag_title_in=iFlag_title_in,
iFont_size_in=iFont_size_in,
sFilename_output_in=sFilename_output_in,
sTitle_in= 'Flow direction with observation',
Expand Down
2 changes: 1 addition & 1 deletion pyflowline/external/pyearth/gis/gdal/gdal_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def gdal_read_geotiff_file(sFilename_in):
pBand = None
pBand = None

return aData_out, dPixelWidth, dOriginX, dOriginY, nrow, ncolumn, dMissing_value, pGeotransform, pProjection, pSpatial_reference
return aData_out, dPixelWidth, pPixelHeight, dOriginX, dOriginY, nrow, ncolumn, dMissing_value, pGeotransform, pProjection, pSpatial_reference

def Google_MetersPerPixel( zoomLevel ):

Expand Down

0 comments on commit 16a3fff

Please sign in to comment.