1. synch with netcdf/oc2
2. fix ocuri parameter handling
3. add tests/testuri.c to test parameter handling.