JCSDA/pycrtm

NetCDF error when trying to build the library

Opened this issue · 1 comments

Hello! I am trying to build the pyCRTM library, but keep running into the error: "Could NOT find NetCDF (missing: NetCDF_INCLUDE_DIRS)". I have set the variable NetCDF_INCLUDE_DIRS to ~/miniconda3/envs/polar/lib/python3.11/site-packages/netCDF4, but I am still unable to get past the error. I'm a bit unfamiliar with importing a python library from github, so perhaps there is something obvious that I am missing, but any suggestions would be greatly appreciated. Thanks!

@Cas-Johnson. I think part of the confusion here is you need to fortran netcdf libraries installed, not the python netCDF4 library. You will need to install the fortran crtm library first.