@@ -71,12 +71,15 @@ This example shows the main functionality for *reading* EBAS NASA-Ames files. It
```
The script reads the input file and writes a lot of data about the file as output. See the program code (and the comments within) how things work and compare it to the output.
Please notice that the input file contains the ozone variable twice (in different units: ug/m3 and nmol/mol, this was generated for user convenience when the file was generated by the database). However, when reading the file, the nmol/mol varable gets automatically converted to ug/m3 as it would be stored in ebas. If you do not want this behaviour, you can specify the argument --skip_unitconvert in order to avoid this conversion. In this case you will need to use the argument --ignore_parameter as well, otherwise the paramter is rejected because of the wrong ebas unit.
Please notice that the input file contains the ozone variable twice (in different units: ug/m3 and nmol/mol, this was generated for user convenience when the file was generated by the database). However, when reading the file, the nmol/mol varable gets automatically converted to ug/m3 as it would be stored in ebas. If you do not want this behaviour, you can specify the argument `--no-unitconvert-read` in order to avoid this conversion. In this case you will need to use the argument `--ignoreparameter` as well, otherwise the parameter is rejected because of the wrong ebas unit.
Starting with version 4.0.0, some argument names have changed: `--skip-unitconvert` is now `--no-unitconvert-read` and `--no-unitconvert-write` depending whether the conversion on input or output should be controlled. The argument `--ignore_parameter` is now `--ignore parameter` and has been collected with other ignore arguments. See also `--help` for more info.
Now, the file is read as is, no unit conversion is done, and the ozone variables in both units can be accessed.