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

error when adding wind to the graph #9

Closed
ksakuras opened this issue Jan 24, 2023 · 1 comment
Closed

error when adding wind to the graph #9

ksakuras opened this issue Jan 24, 2023 · 1 comment

Comments

@ksakuras
Copy link
Owner

Hi Raphael,
This is the small issue I would like to ask you about when we meet:
In the code 5-2-wind-graph_create, line 18
grl <- graph_add_wind(grl,
pressure = pam$pressure, filename,
thr_as = gpr$thr_as
)

The code returns with an error as below, indicating some mismatch in the pressure data:

Error in graph_add_wind(grl, pressure = pam$pressure, filename, thr_as = gpr$thr_as) :
Pressure not matching for 'data/5_wind_graph/5D6/5D6_11.nc'
In addition: There were 22 warnings (use warnings() to see them)

I have updated my codes and I ran it with the 5D6 data set.

@Rafnuss
Copy link
Collaborator

Rafnuss commented Jan 26, 2023

Hey, I just updated the code with the fix I suggest. See https://github.com/Rafnuss/GeoPressureR/discussions/62 for more info. Let me know if you have any questions

I managed to get a nice shortest path with geopressureviz:
image

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