|
RCube
Rcube Rest Server calculates sail routes based on Grib files and sailing boat polar files
|

Go to the source code of this file.
Functions | |
| char * | gribReaderVersion (char *str, size_t maxLen) |
| return version of ECCODE API | |
| bool | readGribLists (const char *fileName, Zone *zone) |
| Read lists zone.timeStamp, shortName, zone.dataDate, dataTime before full grib reading. | |
| bool | readGribParameters (const char *fileName, Zone *zone) |
| Read grib parameters in zone before full grib reading. | |
| bool | readGribAll (const char *fileName, Zone *zone, int iFlow) |
| read grib file using eccodes C API return true if OK | |
Variables | |
| FlowP * | tGribData [] |
| grib data description | |
|
extern |
return version of ECCODE API
return version of ECCODE API
Definition at line 23 of file readgriballeccodes.c.
Referenced by testToJson().

|
extern |
read grib file using eccodes C API return true if OK
Definition at line 196 of file readgriballeccodes.c.
References Zone::allTimeStepOK, Zone::anteMeridian, Sec4Info::category, Sec3Grid::di, Sec3Grid::dj, findNextGrib(), findTimeIndex(), FlowP::g, GUST_GFS, idxTij(), indexOf(), indLat(), indLonWrap(), Zone::intervalBegin, Zone::intervalEnd, isCurrentTriplet(), FlowP::lat, Sec3Grid::lat1, Zone::latMax, Zone::latMin, Zone::latStep, FlowP::lon, Sec3Grid::lon1, lonCanonize(), Zone::lonLeft, Zone::lonStep, MAX_SIZE_SHORT_NAME, MISSING, Zone::nbLat, Zone::nbLon, Zone::nDataDate, Sec3Grid::Ni, Sec3Grid::Nj, Zone::nMessage, Zone::nTimeStamp, Sec4Info::parameter, parseGrib2Message(), Sec4Info::pdt, pdtLeadHours(), Sec4Info::pdtLen, Sec4Info::pdtn, rdU64BE(), rdU8(), readGribLists(), readGribParameters(), MsgParse::s3, MsgParse::s4, scanAdjI(), scanBoustro(), Sec3Grid::scanFlags, shortNameFor(), tGribData, Zone::timeStamp, FlowP::u, FlowP::v, FlowP::w, Zone::wellDefined, and zone.
Referenced by initContext(), optionManage(), updateCurrentGrib(), and updateWindGrib().


|
extern |
Read lists zone.timeStamp, shortName, zone.dataDate, dataTime before full grib reading.
Definition at line 56 of file readgriballeccodes.c.
References Sec4Info::category, Sec1Info::centerId, Zone::centreId, Zone::dataDate, Zone::dataTime, Sec4Info::discipline, Zone::editionNumber, findNextGrib(), g_strlcpy, Zone::intervalBegin, Zone::intervalEnd, Zone::intervalLimit, isCurrentTriplet(), MAX_N_DATA_DATE, MAX_N_DATA_TIME, MAX_N_SHORT_NAME, MAX_N_TIME_STAMPS, MAX_SIZE_SHORT_NAME, Zone::nDataDate, Zone::nDataTime, Zone::nShortName, Zone::nTimeStamp, Sec4Info::parameter, parseSec1(), parseSec4(), Sec4Info::pdt, pdtLeadHours(), Sec4Info::pdtLen, Sec4Info::pdtn, rdU32BE(), rdU64BE(), rdU8(), Sec1Info::refDay, Sec1Info::refHour, Sec1Info::refMinute, Sec1Info::refMonth, Sec1Info::refYear, Zone::shortName, shortNameFor(), sortLongAsc(), Zone::stepUnits, strCopySafe(), Zone::timeStamp, updateLong(), updateLongUnique(), and zone.
Referenced by gribToStrJson(), and readGribAll().


|
extern |
Read grib parameters in zone before full grib reading.
Definition at line 128 of file readgriballeccodes.c.
References Zone::anteMeridian, Sec1Info::centerId, Zone::centreId, Sec3Grid::di, Sec3Grid::dj, Zone::editionNumber, Sec3Grid::lat1, Zone::latMax, Zone::latMin, Zone::latStep, Sec3Grid::lon1, lonCanonize(), Zone::lonLeft, Zone::lonRight, Zone::lonStep, Zone::nbLat, Zone::nbLon, Sec3Grid::Ni, Sec3Grid::Nj, Zone::numberOfValues, parseSec1(), parseSec3LatLon(), rdU32BE(), rdU64BE(), rdU8(), Zone::stepUnits, and zone.
Referenced by gribToStrJson(), and readGribAll().


|
extern |
grib data description
Definition at line 20 of file readgriballeccodes.c.
Referenced by checkGrib(), consistentGrib(), findCurrentGrib(), findWindGrib(), launchAction(), main(), optionManage(), and readGribAll().