NOAA-EMC / GSI-ncdiag

GSI NetCDF Diagnostics
1 stars 1 forks source link

Bad operator input character length #3

Closed DavidHuber-NOAA closed 1 year ago

DavidHuber-NOAA commented 1 year ago

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.