Avalable since 2020.01.
This parser can import grid data from txt files in the following format:
SMBZ AAXX 0112 SYNOP 83649 NIL= 83650 41598 60401 10290 20227 40180 52005 70320 84264 82099 32370 53607 10274 20253 30120 40140 85530 333 20240 58006 60004= 82244 21470 71204 10253 20251 30064 40134 70262 82231 333 20237 59002 60014= 222// 02275 20801 80245 333 20240 58015=
Lines shorter than 2 columns are skipped.
Lines that do not start with a number between 80.000 -89.999 are skipped.
The first colomn (number between 80.000-89.999) is the location id.
Lines with only two columns are imported as missing value. (83649 NIL=)
If the number in the second column starts with 4 (83650 41598 60401 10290 20227 40180 52005 70320 84264) it means the station was not operational, missing value will be imported.
If the number in the second column starts with 3 (82099 32370 53607 10274 20253 30120 40140 85530 333 20240 58006 60004=) the value of 0 will be imported.
If the number in the second column starts with 2 (82244 21470 71204 10253 20251 30064 40134 70262 82231 333 20237 59002 60014=) the value will be determined from the last number: 3 digits after the 6. 60014= → 001.
As the files contain no time data the configuration should contain fileNameObservationDateTimePattern. More over the pattern here:
Import Module configuration options#fileNameObservationDateTimePattern
Example configuration:
<?xml version="1.0" encoding="UTF-8"?> <timeSeriesImportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesImportRun.xsd"> <import> <general> <importType>ONS-Synoptic</importType> <folder>D:/fews/Import/Synoptic</folder> <fileNameObservationDateTimePattern>'s'yyMMddHH'.txt'</fileNameObservationDateTimePattern> <deleteImportedFiles>false</deleteImportedFiles> <idMapId>IdImport_Meteo_Synoptic</idMapId> <unitConversionsId>ImportUnitConversions</unitConversionsId> <importTimeZone> <timeZoneName>GMT</timeZoneName> </importTimeZone> <dataFeedId>meteo_Synoptic</dataFeedId> </general> <timeSeriesSet> <moduleInstanceId>Import_Meteo_Synoptic</moduleInstanceId> <valueType>scalar</valueType> <parameterId>P.obs</parameterId> <locationSetId>meteo_synop</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep id="day12"/> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> <externUnit parameterId="P.obs" unit="mm"/> </import> </timeSeriesImportRun>