Commit c2c6c706 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added streamGrbDefDataScanningMode().

parent ff5b6ce8
......@@ -38,6 +38,19 @@ void streamGrbChangeModeUvRelativeToGrid(int mode)
cdiGribChangeModeUvRelativeToGrid.mode = (mode > 0);
}
struct cdiGribScanModeChange cdiGribDataScanningMode;
void streamGrbDefDataScanningMode(int scanmode)
{
cdiGribDataScanningMode.active = true;
cdiGribDataScanningMode.scanmode = scanmode;
}
int streamGrbInqDataScanningMode(void)
{
return cdiGribDataScanningMode.scanmode;
}
int grib1ltypeToZaxisType(int grib_ltype)
{
......
......@@ -36,11 +36,20 @@ struct cdiGribModeChange
bool active;
};
struct cdiGribScanModeChange
{
int scanmode;
bool active;
};
extern struct cdiGribParamChange cdiGribChangeParameterID;
extern struct cdiGribModeChange cdiGribChangeModeUvRelativeToGrid;
extern struct cdiGribScanModeChange cdiGribDataScanningMode;
void streamGrbChangeParameterIdentification(int code, int ltype, int lev);
void streamGrbChangeModeUvRelativeToGrid(int mode);
void streamGrbDefDataScanningMode(int scanmode);
int streamGrbInqDataScanningMode(void);
#endif /* _STREAM_GRB_H */
/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment