This PR fixes error messages that were being printed whenever VMEC runs:
% cdfPurVar_1d--E-- A netCDF error has occurred in: nf_put_var_double
while processing: DMerc
NetCDF: Start+count exceeds dimension bound
% cdfPurVar_1d--E-- A netCDF error has occurred in: nf_put_var_double
while processing: DShear
NetCDF: Start+count exceeds dimension bound
% cdfPurVar_1d--E-- A netCDF error has occurred in: nf_put_var_double
while processing: DWell
NetCDF: Start+count exceeds dimension bound
% cdfPurVar_1d--E-- A netCDF error has occurred in: nf_put_var_double
while processing: DCurr
NetCDF: Start+count exceeds dimension bound
% cdfPurVar_1d--E-- A netCDF error has occurred in: nf_put_var_double
while processing: DGeod
NetCDF: Start+count exceeds dimension bound
Also, the tests were updated to use scipy.io.netcdf_file instead of scipy.io.netcdf.netcdf_file, consistent with the latter being deprecated in scipy. Finally, a typo vn_qfact -> vn_iotaf was fixed, matching a fix in the stellopt version of vmec.
This PR fixes error messages that were being printed whenever VMEC runs:
Also, the tests were updated to use
scipy.io.netcdf_file
instead ofscipy.io.netcdf.netcdf_file
, consistent with the latter being deprecated inscipy
. Finally, a typovn_qfact
->vn_iotaf
was fixed, matching a fix in the stellopt version of vmec.