Closed DavidHuber-NOAA closed 9 months ago
It looks like we do have a bit of an inconsistency in the library, because variable MTDIR is dimensioned as character*240 in mtinfo.f, but only as character*100 in mtfnam.f and ireadmt.f. So we should probably bump the latter two up to character*240 (which would also match the length of cmtdir in bfrini.f90.in), and then correspondingly bump STDFIL and LOCFIL to be character*275 in ireadmt.f
I'll work on this, but I'll also need to come up with a new CI test to verify that the increased array sizes don't blow up something else.
When compiled with spack-stack on Hera, the debufr application is failing with an internal write error:
When compiled with hpc-stack, there is no issue. Looking into mtfnam.f and ireadmt.f, it appears that the maximum length for a BUFR table filename is 132 while for the Hera installation, the full path length for the tables is 155-156. This should probably be increased.
FYI @wx20jjung