Patches have been submitted for the netcdf-cxx-legacy rdeps. The netcdf-cxx-legacy-rm usertag tracks these bugreports: https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-gis@lists.debian.org&tag=netcdf-cxx-legacy-rm