Skip to content
Snippets Groups Projects
Commit 8be47221 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 11/04/2024: Fill_tfieldmetadata: populate ndimlist if CDIR=XY for 4D...

Philippe 11/04/2024: Fill_tfieldmetadata: populate ndimlist if CDIR=XY for 4D fields (4th dimension set to NMNHDIM_NOTLISTED)
parent ed305597
No related branches found
No related tags found
No related merge requests found
......@@ -425,6 +425,9 @@ type(tfieldmetadata) function Fill_tfieldmetadata( cmnhname, cstdname, clongname
tpfield%ndimlist(1:2) = NMNHDIM_ARAKAWA(tpfield%ngrid,1:2)
else if ( tpfield%ndims == 3 .and. tpfield%ngrid /= NGRIDUNKNOWN ) then
tpfield%ndimlist(1:3) = NMNHDIM_ARAKAWA(tpfield%ngrid,1:3)
else if ( tpfield%ndims == 4 .and. tpfield%ngrid /= NGRIDUNKNOWN ) then
tpfield%ndimlist(1:3) = NMNHDIM_ARAKAWA(tpfield%ngrid,1:3)
tpfield%ndimlist(4) = NMNHDIM_NOTLISTED
else
call Print_msg( NVERB_DEBUG, 'GEN', 'Fill_tfielddata', 'ndimlist not filled for variable ' // Trim( ymnhname ) )
end if
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment