NCAR / ncl

The NCAR Command Language (NCL) is a scripting language for the analysis and visualization of climate and weather data.
http://www.ncl.ucar.edu
Other
268 stars 65 forks source link

Support for PROJ 6.0.0 #88

Open sebastic opened 5 years ago

sebastic commented 5 years ago

NCL still uses proj_api.h which is deprecated in PROJ 6.0.0 and will be removed in PROJ 7.0.0 (scheduled for March 2020).

When using proj_api.h with PROJ 6.0.0 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 needs to be added to CFLAGS to prevent a compiler error.

NCL should be updated to (also) support the proj.h API.

sebastic commented 3 years ago

The first PROJ 8.0.0 release candidate has been released which removes proj_api.h.

opoplawski commented 3 years ago

We're looking to update proj to 8.0.0 in Fedora and ncl is failing to build with it. Are there any resources available to update NCL, or is it pretty much dead at this point?

opoplawski commented 3 years ago

So, this patch: https://src.fedoraproject.org/rpms/ncl/blob/rawhide/f/ncl-proj8.patch has been committed to Fedora. Unfortunately it doesn't use conditionals so it won't support very old proj versions (<5 I think. EL7 has proj 4). But it's a start.