The length of the input argument operator to the subroutine ncdw_metadata.f90:nc_diag_metadata_to_single_operator is 2, but most operators (+, -, *) are only length 1. This results in the second character being filled by the next byte of memory, and causes fill values to be written out instead of the proper calculation and value being generated.
The length of the input argument
operator
to the subroutinencdw_metadata.f90:nc_diag_metadata_to_single_operator
is2
, but most operators (+
,-
,*
) are only length1
. This results in the second character being filled by the next byte of memory, and causes fill values to be written out instead of the proper calculation and value being generated.