-
Notifications
You must be signed in to change notification settings - Fork 60
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
Change to using netcdf modules instead of netcdf-all #144
Conversation
Very happy to see this as the current wget approach in the pom wasn't working for me and I was just starting to put together some other possible approaches/band-aids. Obviously moving to the official set of dependency offerings from Unidata is the best path forward. Tests pass for me locally (Linux, Maven 3.6.3, Java 17.0.3), with the exception of these which have already been identified in #140.
That's good enough for a 👍 from me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
I tried to do this a few times and failed each time. See the commented-out
section of pom.xml. Perhaps you succeeded where I failed, but...
I worked with the netcdf-java developers but they couldn't give me a list
of modules to mimic netcdf-all and couldn't resolve the other problems.
Getting it to compile is no problem.
Getting it to pass *all* of the tests is the problem. (Remember that
netcdf-java is responsible for reading many file types beyond .nc and .hdf.)
I don't think anyone has all of the tests except Chris, and many of the
tests are not working now because of the RAID failure last spring making
several datasets permanently unavailable. I recommended that fixing those
tests (by using new datasets) was a very high priority but was ignored.
…On Thu, Apr 11, 2024 at 1:56 PM Chris John ***@***.***> wrote:
Description
This loads netcdf dependencies as individual modules instead of the old
way that needed to download netcdf-all outside of the normal dependency
management.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
- [ X] Bug fix (non-breaking change which fixes an issue)
Checklist before requesting a review
- [ X] I have performed a self-review of my code
- [ X] My code follows the style guidelines of this project
- [X ] I have commented my code, particularly in hard-to-understand
areas
- [ X] I have made corresponding changes to the documentation
- [ X] My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- [X ] New and existing unit tests pass locally with my changes
------------------------------
You can view, comment on, or merge this pull request online at:
#144
Commit Summary
- 0c10636
<0c10636>
Change to using netcdf modules instead of netcdf-all
File Changes
(1 file <https://github.com/ERDDAP/erddap/pull/144/files>)
- *M* pom.xml
<https://github.com/ERDDAP/erddap/pull/144/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8>
(156)
Patch Links:
- https://github.com/ERDDAP/erddap/pull/144.patch
- https://github.com/ERDDAP/erddap/pull/144.diff
—
Reply to this email directly, view it on GitHub
<#144>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALKWOCUDMVZGGTCR535SHLY43FFNAVCNFSM6AAAAABGCX76KWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTQMRVGQ2DKMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@ChrisJohnNOAA One dependency that may be missing is an SLF4J implmentation. When I run ERDDAP locally, I'm getting the following SLF4J warning messages now:
Not sure if this is a real issue or not (ERDDAP is running for me), but SLF4J is mentioned as a separate dependency that should be included in the Unidata docs for netcdf-Java. I don't see an SLF4j dependency included anywhere in the current pom.xml. |
Description
This loads netcdf dependencies as individual modules instead of the old way that needed to download netcdf-all outside of the normal dependency management.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist before requesting a review