Simplify netcdf find module
We had a lot of troubles with the FindNetCDF.cmake
file taken from https://github.com/NOAA-EMC/CMakeModules:
- https://github.com/conda-forge/netcdf-fortran-feedstock/issues/71
- https://github.com/NOAA-EMC/CMakeModules/issues/58
Therefore I rewrote the script but it doesn't use nc-config
or nf-config
but follows the guide from cmake on how to write these extensions: link