Closed moroth89 closed 1 year ago
Hi @moroth89 . Are you using our example or your own data? If you use your own could you send your input netcdf (I.e. results from the get_piv step)?
If not, could you send the output of pyorc.version? I can check this tomorrow.
Kindly also provide the x, y, z points of your transect and the coordinate reference system in which they have been measured if this is relevant.
Hi hcwinsemius,
I used the data from your example (video, coordinate reference system, gcps, etc.).
Here are the generated input ntcdf and the file from the get_piv step.
ngwerere_mo.zip
Thanks a lot.
Cheers, Mo
Very useful that you noticed this, so thanks. The bug has been caused by a new release (yesterday!!) of scipy, causing problems in the interpolation routine of xarray
. If have solved this for now in release v0.3.2. The expected rebuild on conda-forge is due tomorrow. Once it is there please update your package with:
conda update -c conda-forge pyopenrivercam
@hcwinsemius, Thanks a lot for your quick reply! It works, but I get different results. As you can see, some information is lost once I apply the filter in step 4.
Please let me know if you would like me to open a new thread for this issue.
Thanks a lot in advance.
Cheers, Moritz
Moritz,
I am making significant changes in the filtering methods which cause that too many velocities are removed in your notebook. I am currently also describing the idea of the filters (which will be called "masks" in upcoming changes) and how to logically apply them. The notebook currently does not yet reflect that change.
I already have a changed recipe for that notebook which I can provide soon, probably next week when I have returned to office.
Yours sincerely.
Op ma 9 jan. 2023 13:03 schreef Moritz @.***>:
Thanks a lot for your quick reply! It works, but I get different results. As you can see, some information is lost once I apply the filter in point 4. https://localdevices.github.io/pyorc/_examples/03_Plotting_and_filtering_velocimetry_results.html [image: Missing_values_along_cross-sections] https://user-images.githubusercontent.com/59596749/211303021-7ebc6caa-0854-48a2-bd2b-64d7b331f945.PNG [image: Missing_velocities_after_filtering] https://user-images.githubusercontent.com/59596749/211303025-63a242f3-edab-40cb-a5a5-72c7d159908c.PNG
Please let me know if you would like me to open a new thread for this issue.
Thanks a lot in advance.
Cheers, Moritz
— Reply to this email directly, view it on GitHub https://github.com/localdevices/pyorc/issues/102#issuecomment-1375523302, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2NZMP7B2S3SO2MUMC6PYLWRP5AXANCNFSM6AAAAAATQ7LYEY . You are receiving this because you modified the open/close state.Message ID: @.***>
Okay, I'm really curious about the new changes and look forward to digging deeper into this topic!
Just checked. If you want to use the very latest changes then you should check out branch "issue_101". I checked and it already contains the updated notebook (starting with 03...) with the explanation of the filters (aka masks). But you then also need to remove the conda installed package. If you wish to try that today then do the following within the folder co taining the git repository after activating your conda environment.
1 remove the conda-forge version
conda remove --force pyopenrivercam
2 checkout the right branch
git pull git checkout issue_101
3 install directly from code base
pip install -e .
Then try the new notebook with masks. I expect to release these changes somewhere next week. So you can also wait for that.
Op di 10 jan. 2023 09:20 schreef Moritz @.***>:
Okay, I'm really curious about the new changes and look forward to digging deeper into this topic!
— Reply to this email directly, view it on GitHub https://github.com/localdevices/pyorc/issues/102#issuecomment-1376888274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2NZMK7XF2ORJ23HKOSSQDWRULWFANCNFSM6AAAAAATQ7LYEY . You are receiving this because you were mentioned.Message ID: @.***>
Hi, I am doing the "quick start" from the pyorc 0.3.0 documentation (https://localdevices.github.io/pyorc/_examples/04_Extracting_crosssection_velocities_and_discharge.html). At the second last step "Obtain a discharge measurement over a cross section" I get an error as soon as I enter the fourth operation. I am using the latest pyopenrivercam version, and python 3.10.6.
Up to this point, I was able to perform all steps as described in the "quick start". Also my cross sections are in the area of interest. Is it possible that there is a bug?
Thx a lot in advance for your help.
Cheers, Mo