Open smalers opened 7 years ago
This error message is produced from QGIS software. The error occurs in the zStat_and_export() function of the SNODAS_utilities.py script when the GeoJSON file is exported with the updated field names. It occurs after the field names are changed and either before or at the QgsVectorFileWriter.writeAsVectorFormat(vectorFile_GeoJson ...) command.
It is important to note that the error does not occur with exporting the vectorFile (compared to the vectorFile_GeoJson) with QGSVectorFileWriter.writeAsVectorFormat. I think the error occurs because of the field name changes. We know that the error is not caused by exporting a GeoJSON because the vectorFile is exported without the error as a GeoJSON file a couple block of code up.
The error is displayed during GIS processing. It does not seem to cause an issue with the results. However, it would be nice to narrow down to figure out where in the code this is occurring so it can be resolved in the future.