JCSDA / pycrtm

Apache License 2.0
10 stars 9 forks source link

NetCDF error when trying to build the library #14

Open Cas-Johnson opened 12 months ago

Cas-Johnson commented 12 months ago

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!

karpob commented 11 months ago

@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.