Exporting from FEWS ["EXPORT"] - Forum - Delft-FEWS
Forum
Exporting from FEWS ["EXPORT"]
MM
Mason Marchildon, modified 4 Months ago.
Exporting from FEWS ["EXPORT"]
Rookie Crystal gazer Posts: 11 Join Date: 5/1/17 Recent Posts 00
I have 20 years of 6-hourly data written to a LocationSet defined by a polygon shapefile outlining 10km² basins. By following https://publicwiki.deltares.nl/display/FEWSDOC/01+ID+Mapping, and from the FEWS Error messages, it appears I cannot use the map or location specification because locations "must be in the location configuration" whereas shapefiles must be brought into FEWS as a LocationSet. The last option is parameter and it runs without error, nothing is raised in debug, and the IdMapping I'm using:
But, the NetCDF returns all NaN for the data I wish to export. The times, coordinates parameters are correct, only data have not been exported. Are there other wiki references that may help me?
<parameter internal="TA.mn" external="temperature" externalQualifier1="temperature (6-hourly interpolated)"/> | |
<location internal="c1088120" external="1088120"/> | |
<location internal="c1223024" external="1223024"/> |
... and so on for each basin. |
MM
Mason Marchildon, modified 4 Months ago.
RE: Exporting from FEWS ["EXPORT"]
Rookie Crystal gazer Posts: 11 Join Date: 5/1/17 Recent Posts 00
Just to add (note that I'm only exporting 10 days for testing):
<?xml version="1.0" encoding="UTF-8"?> | |
<timeSeriesExportRun 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/timeSeriesExportRun.xsd"> | |
<export> | |
<general> | |
<exportType>NETCDF-CF_TIMESERIES</exportType> | |
<folder>$EXPORT_FOLDER$</folder> | |
<exportFileName> | |
<name>.nc</name> | |
<prefix> | |
<timeZeroFormattingString>yyyyMMddHHmm</timeZeroFormattingString> | |
</prefix> | |
</exportFileName> | |
<idMapId>IdExportMSC</idMapId> | |
<exportMissingValueString>-9999</exportMissingValueString> | |
<exportTimeZone> | |
<timeZoneName>EST</timeZoneName> | |
</exportTimeZone> | |
</general> | |
<timeSeriesSet> | |
<moduleInstanceId>exportMSCNetcdfTimeseries</moduleInstanceId> | |
<valueType>scalar</valueType> | |
<parameterId>TA.mn</parameterId> | |
<locationSetId>$MODELNAME0$SubBasins</locationSetId> | |
<timeSeriesType>external historical</timeSeriesType> | |
<timeStep id="GMT_6hourly"/> | |
<relativeViewPeriod unit="day" start="-10" end="0"/> | |
<readWriteMode>read only</readWriteMode> | |
</timeSeriesSet> | |
</export> | |
</timeSeriesExportRun> |
IM
Ivo Miltenburg, modified 4 Months ago.
RE: Exporting from FEWS ["EXPORT"]
Keen Forecaster Posts: 7 Join Date: 3/12/13 Recent Posts 00
Hi Mason,
I am not really sure about the polygon nature of your locations and if that poses a problem. But one thing I notice is that you specify the following in the IdMapping:
externalQualifier1="temperature (6-hourly interpolated)"
Following the instructions on the NETCDF Timeseries Export wiki : If the parameter has an entry in the standard name CF table, you can enter it in the externalQualifier1 attribute of the parameter. I do not believe that "temperature (6-hourly interpolated)" is part of the standard name CF table.
Have you tried exporting without this specification of externalQualifier1?
I am not really sure about the polygon nature of your locations and if that poses a problem. But one thing I notice is that you specify the following in the IdMapping:
externalQualifier1="temperature (6-hourly interpolated)"
Following the instructions on the NETCDF Timeseries Export wiki : If the parameter has an entry in the standard name CF table, you can enter it in the externalQualifier1 attribute of the parameter. I do not believe that "temperature (6-hourly interpolated)" is part of the standard name CF table.
Have you tried exporting without this specification of externalQualifier1?
MM
Mason Marchildon, modified 4 Months ago.
RE: Exporting from FEWS ["EXPORT"]
Rookie Crystal gazer Posts: 11 Join Date: 5/1/17 Recent Posts 00
Ivo, thanks again. I've been looking fir something like the standard name CF table; thanks for that!
The externalQualifier1 wasn't the solution, just an error on my end. Thanks to you because without your suggestion, I wouldn't have found it.
The externalQualifier1 wasn't the solution, just an error on my end. Thanks to you because without your suggestion, I wouldn't have found it.