Adds a check for a size 0 DataFrame when parsing posted values to avoid the indexerror raised for forecasts. Also helpful for observations to return a more precise error message. Observation endpoint previously complained about missing "quality_flag" field when data was empty.
Adds a check for a size 0 DataFrame when parsing posted values to avoid the indexerror raised for forecasts. Also helpful for observations to return a more precise error message. Observation endpoint previously complained about missing "quality_flag" field when data was empty.