Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mesh_tools/mesh_conversion_tools/mpas_mask_creator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ int outputMaskDimensions( const string outputFilename ){/*{{{*/
if (!(tempDim = grid.add_dim("maxPointsInGroup", maxPointsInGroup))) return NC_ERR;
}

if (!(tempDim = grid.add_dim("StrLen", 1024))) return NC_ERR;
if (!(tempDim = grid.add_dim("StrLen", 64))) return NC_ERR;

grid.close();

Expand All @@ -1743,7 +1743,7 @@ int outputMaskAttributes( const string outputFilename, const string inputFilenam
* **********************************************************************/
// Return this code to the OS in case of failure.
static const int NC_ERR = 2;
char mesh_spec_str[1024];
char mesh_spec_str[64];

// set error behaviour (matches fortran behaviour)
NcError err(NcError::verbose_nonfatal);
Expand Down