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

Fixes #55. ifdef out HDF4 readers #56

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mathomp4
Copy link
Member

@mathomp4 mathomp4 commented Oct 2, 2024

Note: The change seems more exciting than it is because my editor strips off trailing whitespace. To better see the change, use the "no whitespace" option: https://github.com/GEOS-ESM/GEOSldas_GridComp/pull/56/files?w=1


Closes #55

This PR adds #if 0 blocks around code that uses the HDF4 Fortran interface. As stated in #55, HDF4 (at the moment) no longer supports a Fortran interface (due to implementation bugs in the library)

Per #55 (comment) by @gmao-rreichle, a solution is to just #if 0 the offending code so it remains, but isn't compiled (thus removing the need for HDF4).

I think this is all that's needed, and it does build with ifx but I'm a bit scared as that was a lot of code I ifdef'd. I think in the end it turns off support for:

    case ('ae_l2_sm_a', 'ae_l2_sm_d')
...
    case ('MOD10C1','MYD10C1')

and if those are still assimilated...

So, I'll keep it Draft until @biljanaorescanin can do a test.

Copy link

github-actions bot commented Oct 2, 2024

This PR is being prevented from merging because you have added one of our blocking labels: Contingent - DNA, Needs Lead Approval, Contingent -- Do Not Approve. You'll need to remove it before this PR can be merged.

@mathomp4
Copy link
Member Author

mathomp4 commented Oct 2, 2024

Throwing in a blocking label as we need one of the obs this turns off.

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

Successfully merging this pull request may close these issues.

Does GEOSldas still require HDF4?
1 participant