Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* tfw file not found for matching pipes and leaks #4

Open
irynarudnytska opened this issue Jun 6, 2021 · 1 comment
Open

* tfw file not found for matching pipes and leaks #4

irynarudnytska opened this issue Jun 6, 2021 · 1 comment

Comments

@irynarudnytska
Copy link

Hi!
I suppose that those variables were taken from the *tfw file, though I can't fine the right one in the project

filter pipes to ones inside the image

import shapely
box = shapely.geometry.box(
minx=x0,
miny=y0,
maxx=x0+rxdata.shape[1],
maxy=y0+ry
data.shape[2],
)
I can't run the 9 last cells of the project without the file. Please let me know where I can find the file. Thanks much in advance!
Have a good one!

@wassname
Copy link
Owner

wassname commented Jun 9, 2021

I'm afraid I no longer have the file. A few years I cleaned up space by removing some of the data.

You can either construct you own bounding box, or just use a null filter such as:

pipes_intersecting = pipes_df.head(10)

I'm afraid the whole notebook is this messy, and I have no time to fix it. I hope it can still be helpful in it's current form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants