Validation Tool

You can use the built-in tool to validate that the metadata of your products complies with the requirements of the SIN’XS project.

This validation process is the same as the one used on the submission form

See the Memo for dataset submission for a detailed list of the fields required. Each field is provided with a description and example values.

To validate the metadata, simply run the following command:

sinxs-check your_product.nc

Note that you can run this command in a directory and provide a pattern to select files. The tool will validate each file sequentially.

The errors are logged to the console and the log file.

Common errors

  • Missing coordinates longitude, latitude:

You need to add longitude and latitude coordinates to your netCDF file. The easiest way to proceed, assuming you have correctly regridded your product to the SIN’XS specifications, is to download the netCDF files from Regrid products and copy the coordinates to your product.

You can do so with NCO using (here the example uses the 12.5km resolution Northern hemisphere file):

ncks -A -v latitude,longitude SINXS_EASE2_N12.5_712.nc your_product.nc