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

Quentin 10/08/2023: Handle IFS model-level grib obtained by python API : these...

Quentin 10/08/2023: Handle IFS model-level grib obtained by python API : these grib files is detected of type IMODEL=11 <=> ln(Pressure) missing
Pressure is found as KPARAM=134
but the other fields are coded as a classic IFS model-level grib (IMODEL=0)
parent f3be929f
No related branches found
No related tags found
No related merge requests found
......@@ -714,6 +714,10 @@ DEALLOCATE (ZLNPS_G)
!
WRITE (ILUOUT0,'(A)') ' | Reading T and Q fields'
!
IF (IMODEL==11) THEN
CALL SEARCH_FIELD(IGRIB,INUM,KPARAM=130,KLEV1=1000) !look for air temperature at pressure level 1000hPa
IF (INUM < 0) IMODEL = 0 ! This change is for handling IFS model level grib file obtained by python API
END IF
IF (IMODEL/=10.AND.IMODEL/=11) THEN
SELECT CASE (IMODEL)
CASE(0) ! ECMWF
......
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