-
Notifications
You must be signed in to change notification settings - Fork 5
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
Initial progress #6
Conversation
The original is: 216_L2-2019_11_08-10_07_07-seq0-cropSmallRF.nrrd which is a cropped version of: M:\SonoVol\3D RF\2019_11_08\216_L2\B-Mode_3D Scan_2019_11_08-10_07_07\UnfusedRF-a0-seq.mha
TODO: try Unidata/netcdf-c#2492 here. |
78b5a26
to
9b49d76
Compare
9b49d76
to
60de2f7
Compare
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.
Please get CI passing
# GIT_REPOSITORY https://github.com/nih-at/libzip | ||
# GIT_TAG v1.9.2 | ||
# ) | ||
# FetchContent_MakeAvailable(libzip) |
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.
zstd FetchContent configuration is available here:
It needs to be built of out source, and pointed to a certain ITK build.") | ||
endif() | ||
|
||
function(dump_cmake_variables) |
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.
remove debug code
/** Run-time type information (and related methods). */ | ||
itkTypeMacro(OMEZarrNGFFImageIO, ImageIOBase); | ||
|
||
static constexpr unsigned MaximumDimension = 5; // OME-NGFF specifies up to 5D data |
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.
5 -> 4 ('c' is the channel / component)
int r; | ||
netCDF_call(nc_create(getNCFilename(this->m_FileName), NC_CLOBBER, &m_NCID)); | ||
|
||
const std::vector<std::string> dimensionNames = { "c", "i", "j", "k", "t" }; |
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.
i j k to x y z per OME-Zarr
We should turn off shared libraries if possible. |
Linux todo: use ITK's HDF5:
|
-> yes |
|
For OpenSSL errors, try installing OpenSSL beforehand: Maybe curl on Linux: |
CMake Error at CMakeLists.txt:103 (set_target_properties): set_target_properties can not be used on an ALIAS target.
FetchContent_MakeAvailable(netCDF) | ||
set(CMAKE_CXX_FLAGS ${saved_CXX}) | ||
set(CMAKE_C_FLAGS ${saved_C}) |
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.
We can add warning exceptions here:
ITKIOOMEZarrNGFF/.github/workflows/build-test-package.yml
Lines 98 to 102 in 44f22e2
set(CTEST_CUSTOM_WARNING_EXCEPTION | |
\${CTEST_CUSTOM_WARNING_EXCEPTION} | |
# macOS Azure VM Warning | |
"ld: warning: text-based stub file" | |
) |
Closing this PR, as I just pushed version ab1a5a4 to master which works fairly well. |
No description provided.