OCHA-DAP/ds-raster-pipelines

Validate characteristics of datasets before saving

Closed this issue · 0 comments

Test for the following conditions before saving data:

  • x/longitude dimension is -180 to 180
  • y/latitude dimension is 90 to -90
  • Projection is EPSG:4326
  • All metadata fields are present
  • Values have the right amount of decimal precision (TBD)
  • Data types are appropriate (TBD)
  • Dimensions are named properly (TBD)
  • _FillValue is np.nan (if relevant)