First spectral coefficients (m=0) have their imaginary part equal to

zero. But on decoding (because of the packing/unpacking process),
grib_api returns non-zero (although tiny) values.

Branch sh_imag forces these numbers to zero when decoding a spectral
field.

JIRA issue is SUP-1566.
This commit is contained in:
Philippe Marguinaud 2016-03-14 10:09:31 +01:00
parent 596a71d1c6
commit 72eb0544c4
1 changed files with 2 additions and 0 deletions

View File

@ -403,3 +403,5 @@ ecbuild_add_library(TARGET eccodes
install( FILES grib_api.h eccodes.h eccodes_windef.h DESTINATION ${INSTALL_INCLUDE_DIR} )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/eccodes_version.h DESTINATION ${INSTALL_INCLUDE_DIR} )