HydrologicEngineeringCenter / Vortex

data processing utilities
MIT License
25 stars 7 forks source link

extend DataWriter for NetcdfWriter #73

Open danhamill opened 2 years ago

danhamill commented 2 years ago

moving from #69

Request dss to netcdf converter

Once idea I had to help define the NETCDF structure required to vortex to properly import to DSS is to develop an additional utility that will convert a dss file to NETCDF format. This would provide a straight forward approach to users developing their own NETCDF files. Might be outside the scope of Vortex, but I personally find the CF conventions hard to follow since many datasets only partially conform to the CF convention.

Having the ability to convert NETCDF-to-DSS and from dss-to-NETCDF will provide users more options to modify the gridded data using more robust NETCDF packages (e.g, xarray).

Response

I designed Vortex with this in mind. You'll notice that the option to specify pathname parts only become available after a file is selected. So, if you were to select something like a *.nc file for output, you may see options related to that file type. To add NetCDF write capability to Vortex a NetcdfDataWriter implementation would need to be added that extends DataWriter.