mirror of https://github.com/ecmwf/eccodes.git
ECC-928: Create a new MARS type Gridded Analysis Input
This commit is contained in:
parent
4a9685fe57
commit
77eee7f61e
|
@ -67,3 +67,4 @@
|
||||||
87 ssd Simulated satellite data
|
87 ssd Simulated satellite data
|
||||||
88 gsd Gridded satellite data
|
88 gsd Gridded satellite data
|
||||||
89 ga GFAS analysis
|
89 ga GFAS analysis
|
||||||
|
90 gai Gridded analysis input
|
||||||
|
|
|
@ -244,25 +244,26 @@ static int extra_set(grib_accessor* a,long val)
|
||||||
case 1:
|
case 1:
|
||||||
/* type */
|
/* type */
|
||||||
switch (val) {
|
switch (val) {
|
||||||
case 0: /* Unknown (0) */
|
case 0: /* Unknown (0) */
|
||||||
typeOfProcessedData=255;
|
typeOfProcessedData=255;
|
||||||
typeOfGeneratingProcess=255;
|
typeOfGeneratingProcess=255;
|
||||||
break;
|
break;
|
||||||
case 1: /* First guess (fg) */
|
case 1: /* First guess (fg) */
|
||||||
case 3: /* Initialised analysis (ia) */
|
case 3: /* Initialised analysis (ia) */
|
||||||
typeOfProcessedData=0;
|
typeOfProcessedData=0;
|
||||||
typeOfGeneratingProcess=1;
|
typeOfGeneratingProcess=1;
|
||||||
break;
|
break;
|
||||||
case 2: /* Analysis (an) */
|
case 2: /* Analysis (an) */
|
||||||
case 4: /* Oi analysis (oi) */
|
case 4: /* Oi analysis (oi) */
|
||||||
case 5: /* 3d variational analysis (3v) */
|
case 5: /* 3d variational analysis (3v) */
|
||||||
case 6: /* 4d variational analysis (4v) */
|
case 6: /* 4d variational analysis (4v) */
|
||||||
case 7: /* 3d variational gradients (3g) */
|
case 7: /* 3d variational gradients (3g) */
|
||||||
case 8: /* 4d variational gradients (4g) */
|
case 8: /* 4d variational gradients (4g) */
|
||||||
|
case 90: /* Gridded analysis input (gai) */
|
||||||
typeOfProcessedData=0;
|
typeOfProcessedData=0;
|
||||||
typeOfGeneratingProcess=0;
|
typeOfGeneratingProcess=0;
|
||||||
break;
|
break;
|
||||||
case 9: /* Forecast (fc) */
|
case 9: /* Forecast (fc) */
|
||||||
typeOfProcessedData=1;
|
typeOfProcessedData=1;
|
||||||
typeOfGeneratingProcess=2;
|
typeOfGeneratingProcess=2;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue