You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chgres_cube, in file model_grid.F90, the array containing the names of the grid tile files is declared as follows:
character(len=25) :: grid_files(num_tiles)
In the SRW App (ufs-srweather-app), the name of the grid file can exceed 25 characters when the grid gets very fine (e.g. 1km or less) and the C-resolution goes into 5 digits, e.g. a file name of C10010_grid.tile7.halo4.nc, which is 26 characters.
SOLUTION:
Change the declaration of the grid_files array to have a longer string length, e.g. 50 characters:
character(len=50) :: grid_files(num_tiles)
I have tested this and it works for the specific case described above.
The text was updated successfully, but these errors were encountered:
DESCRIPTION:
In chgres_cube, in file
model_grid.F90
, the array containing the names of the grid tile files is declared as follows:In the SRW App (ufs-srweather-app), the name of the grid file can exceed 25 characters when the grid gets very fine (e.g. 1km or less) and the C-resolution goes into 5 digits, e.g. a file name of
C10010_grid.tile7.halo4.nc
, which is 26 characters.SOLUTION:
Change the declaration of the
grid_files
array to have a longer string length, e.g. 50 characters:I have tested this and it works for the specific case described above.
The text was updated successfully, but these errors were encountered: