Skip to content
Snippets Groups Projects
Commit cf31430e authored by RODIER Quentin's avatar RODIER Quentin
Browse files

Quentin 21/04/2020: major correction for GFS grib use : the u and v wind...

 Quentin 21/04/2020: major correction for GFS grib use : the u and v wind component is now written in the correct vertical order at prep_real
parent 95e554b6
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,7 @@ END MODULE MODI_READ_ALL_DATA_GRIB_CASE ...@@ -131,6 +131,7 @@ END MODULE MODI_READ_ALL_DATA_GRIB_CASE
!! Bielli S. 02/2019 Sea salt : significant sea wave height influences salt emission; 5 salt modes !! Bielli S. 02/2019 Sea salt : significant sea wave height influences salt emission; 5 salt modes
! P. Wautelet 14/03/2019: correct ZWS when variable not present in file ! P. Wautelet 14/03/2019: correct ZWS when variable not present in file
! Q. Rodier 27/01/2020: switch of GRIB number ID for Orograpgy and hydrometeors in ARPEGE/AROME in EPyGrAM v1.3.7 ! Q. Rodier 27/01/2020: switch of GRIB number ID for Orograpgy and hydrometeors in ARPEGE/AROME in EPyGrAM v1.3.7
! Q. Rodier 21/04/2020: correction GFS u and v wind component written in the right vertical order
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
! !
!* 0. DECLARATIONS !* 0. DECLARATIONS
...@@ -1464,7 +1465,7 @@ DO JLOOP1 = ISTARTLEVEL, ISTARTLEVEL+INLEVEL-1 ...@@ -1464,7 +1465,7 @@ DO JLOOP1 = ISTARTLEVEL, ISTARTLEVEL+INLEVEL-1
IF (IMODEL/=10) THEN ! others than NCEP IF (IMODEL/=10) THEN ! others than NCEP
ILEV1 = JLOOP1 ILEV1 = JLOOP1
ELSE ELSE
ILEV1 = IP_GFS(JLOOP1) ILEV1 = IP_GFS(INLEVEL+ISTARTLEVEL-JLOOP1)
END IF END IF
! read component u ! read component u
CALL SEARCH_FIELD(IGRIB,INUM,KPARAM=IPAR,KLEV1=ILEV1) CALL SEARCH_FIELD(IGRIB,INUM,KPARAM=IPAR,KLEV1=ILEV1)
...@@ -1497,7 +1498,7 @@ DO JLOOP1 = ISTARTLEVEL, ISTARTLEVEL+INLEVEL-1 ...@@ -1497,7 +1498,7 @@ DO JLOOP1 = ISTARTLEVEL, ISTARTLEVEL+INLEVEL-1
IF (IMODEL/=10) THEN ! others than NCEP IF (IMODEL/=10) THEN ! others than NCEP
ILEV1 = JLOOP1 ILEV1 = JLOOP1
ELSE ELSE
ILEV1 = IP_GFS(JLOOP1) ILEV1 = IP_GFS(INLEVEL+ISTARTLEVEL-JLOOP1)
END IF END IF
CALL SEARCH_FIELD(IGRIB,INUM,KPARAM=IPAR+1,KLEV1=ILEV1) CALL SEARCH_FIELD(IGRIB,INUM,KPARAM=IPAR+1,KLEV1=ILEV1)
IF (INUM < 0) THEN IF (INUM < 0) THEN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment