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

New IInputStream to read from NetCDF: CInputStream_NetCDF #3

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

5tefan
Copy link

@5tefan 5tefan commented Oct 16, 2018

Hello,

Please consider this contribution which adds a new input stream node: CInputStream_NetCDF.

CInputStream_NetCDF takes the following parameters in the ini:

  • file_name, expected to be a netcdf file
  • netcdf_variable, which variable to read from the netcdf file. The variable is expected to have 1 dimension.

I've wrapped the functionality in a USE_NETCDF preprocessor directive, so (I think) it's possible to compile without the NetCDF-C dependency. I've made the default Makefile build the NetCDF version. I would be happy to extract this instead to a Makefile_netcdf or something if you would prefer not to require NetCDF to build the main Makefile.

Thanks,
Stefan

@5tefan 5tefan changed the title New IInputStream to read from NetCDF: CInputStream_NetCDF [WIP] New IInputStream to read from NetCDF: CInputStream_NetCDF Oct 16, 2018
@5tefan 5tefan changed the title [WIP] New IInputStream to read from NetCDF: CInputStream_NetCDF New IInputStream to read from NetCDF: CInputStream_NetCDF Oct 16, 2018
5tefan added 13 commits October 23, 2018 18:27
Previously, was processing a ton of individual files
each with a call to fpf. Although admittedly fpf was
not the slow part, this was the best way to realize
an accelleration.

Can avoid many calls through the Python wrapper,
instead, keep the calls within fpf, have all
the files write to one writer node, and then
only one call to ccsdspy after.
To support APID discovery and browsing.
- Updates Makefile_nocurl for Resize and APIDlist
- Reconcile Makefile differences
- Explicitly include stdlib
- Adds NETCDF and APIDlist to class_factory
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

Successfully merging this pull request may close these issues.

1 participant