...
Code Block |
---|
aws s3 ls s3://prod.sdc.dot.gov.data-lake.standardized-data/<data-provider> --profile sdc |
Configuration Files
When the uploaded data reaches the Standardized Data Bucket, it will be checked by the validation lambda function. This function confirms that all the correct fields exist for each message and that the data in each field is reasonable (eg. Variable speed limit set to 0-254 MPH). The field and data checks are stored in a file called config.ini.
The path for each config file must be added manually into the lambda in AWS.
Validation Results and Alerts
When the validator runs and validates the content of the data files submitted to the SDC, it will compile metrics of the results from the validator. These metrics include the number of valid messages, the number of invalid messages and the number of total data files validated. These numbers are then summed up throughout the day and are used to find specific data files that may not be validating properly. A daily report will be sent out to all data providers about the validation for their data files for the day and any alerts of invalidations that have occurred.