geospace-code / nc4fortran

Object-oriented Fortran NetCDF4 interface
MIT License
38 stars 9 forks source link

Minor error output issue: all is write_1d #1

Closed mathomp4 closed 4 years ago

mathomp4 commented 4 years ago

Describe the bug

This is a simple one as I was looking over your code. Mainly in writer.F90 there are lines like: https://github.com/geospace-code/nc4fortran/blob/f93cadbd114a3014cb7c2f0f463be95e5768411d/src/writer.f90#L91

that were copy-pasted. But every one says write_1d even if it's for nc_write_2d or nc_write_7d

scivision commented 4 years ago

Thank you. writer.f90 and reader.f90 were turned into generated template files in nc4fortran v0.5.1 so this issue disappeared as a result. Please let us know if there's any features you'd like to see or any other issues.