Factory for NetCDF and HDF5 data sources.
Creates a new instance of NetCDFDataSourceFactory
return the number of records of the variable. The file will be downloaded if it is not available. This was introduced because we had a huge file where we needed to read in so many blocks at a time, instead of the entire file.