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

Philippe 22/05/2024: outputs: fix for managements of coordinates of 1D fields

parent 7ce74239
No related branches found
No related tags found
No related merge requests found
...@@ -4520,6 +4520,7 @@ NDIMS: SELECT CASE (TPFIELD%NDIMS) ...@@ -4520,6 +4520,7 @@ NDIMS: SELECT CASE (TPFIELD%NDIMS)
IF ( TPBOX%CNAME /= CMAINDOMAINNAME ) CALL IO_Dim_main_to_box( TZFIELDMD ) IF ( TPBOX%CNAME /= CMAINDOMAINNAME ) CALL IO_Dim_main_to_box( TZFIELDMD )
CALL IO_Dim_box_bounds( TPBOX, TZFIELDMD, KIINF=IIINF, KISUP=IISUP ) CALL IO_Dim_box_bounds( TPBOX, TZFIELDMD, KIINF=IIINF, KISUP=IISUP )
CALL IO_Box_coords_enable( TZFIELDMD, TPBOX )
CASE ( 'YY' ) CASE ( 'YY' )
! Modify ndimlist except for main domain ! Modify ndimlist except for main domain
...@@ -4528,6 +4529,7 @@ NDIMS: SELECT CASE (TPFIELD%NDIMS) ...@@ -4528,6 +4529,7 @@ NDIMS: SELECT CASE (TPFIELD%NDIMS)
! Use IINF/IISUP for KJINF/KJSUP dummy arguments because if 'YY', there is only 1 dim (Y-direction) ! Use IINF/IISUP for KJINF/KJSUP dummy arguments because if 'YY', there is only 1 dim (Y-direction)
! Compute the Y-bounds (KJINF/KJSUP) and store them in the 1st dimension (IINF/IISUP) ! Compute the Y-bounds (KJINF/KJSUP) and store them in the 1st dimension (IINF/IISUP)
CALL IO_Dim_box_bounds( TPBOX, TZFIELDMD, KJINF=IIINF, KJSUP=IISUP ) CALL IO_Dim_box_bounds( TPBOX, TZFIELDMD, KJINF=IIINF, KJSUP=IISUP )
CALL IO_Box_coords_enable( TZFIELDMD, TPBOX )
CASE ( 'ZZ' ) CASE ( 'ZZ' )
! Modify ndimlist except for main domain ! Modify ndimlist except for main domain
...@@ -4536,6 +4538,7 @@ NDIMS: SELECT CASE (TPFIELD%NDIMS) ...@@ -4536,6 +4538,7 @@ NDIMS: SELECT CASE (TPFIELD%NDIMS)
! Use IINF/IISUP for KKINF/KKSUP dummy arguments because if 'ZZ', there is only 1 dim (Z-direction) ! Use IINF/IISUP for KKINF/KKSUP dummy arguments because if 'ZZ', there is only 1 dim (Z-direction)
! Compute the Z-bounds (KKINF/KKSUP) and store them in the 1st dimension (IINF/IISUP) ! Compute the Z-bounds (KKINF/KKSUP) and store them in the 1st dimension (IINF/IISUP)
CALL IO_Dim_box_bounds( TPBOX, TZFIELDMD, KKINF=IIINF, KKSUP=IISUP ) CALL IO_Dim_box_bounds( TPBOX, TZFIELDMD, KKINF=IIINF, KKSUP=IISUP )
CALL IO_Box_coords_enable( TZFIELDMD, TPBOX )
CASE DEFAULT CASE DEFAULT
!Nothing to do !Nothing to do
......
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