Query the NetCDF file to determine available variables

This update should dynamically update the list of variables, and fixes #1.