Skip to content

Commit

Permalink
Merge pull request opengribs#291 from did-g/meteofrance
Browse files Browse the repository at this point in the history
New MeteoFrance definition
  • Loading branch information
norulz authored May 16, 2022
2 parents 738aca2 + 0cecec7 commit 88c425c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Grib2Record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,8 @@ int Grib2Record::analyseProductType ()
return GRB_PRECIP_TOT;
else if (paramnumber==49)
return GRB_PRECIP_TOT;
else if (paramnumber==65)
return GRB_PRECIP_TOT;
else if (paramnumber==52) {
/*
cf
Expand Down
3 changes: 2 additions & 1 deletion src/GribRecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ void GribRecord::translateDataType ()
//------------------------
// Meteo France Arome/Arpege
//------------------------
else if (idCenter==84 && (idModel==204 || idModel==121 || idModel==211) && idGrid==255) {
else if ((idCenter==84 || idCenter==85)
&& (idModel==204 || idModel==121 || idModel==211) && idGrid==255) {

if ( (getDataType()==GRB_PRESSURE)
&& getLevelType()==LV_MSL
Expand Down

0 comments on commit 88c425c

Please sign in to comment.