NetCDF 3 Classic format has a maximum variable size of 4.0 GB. While this seems sufficiently large it is surprisingly easy to select an area or time range that exceeds this value, especially for higher resolution datasets.
Come up with an appropriate solution that limits the size of the subset NetCDF 3 Classic file output. This may involve splitting the data into multiple files, limiting the size of the data the format specs, or return an error to notify the user if the data is deemed too large. If an incomplete NetCDF file is returned then the user should also be notified.
NetCDF 3 Classic format has a maximum variable size of 4.0 GB. While this seems sufficiently large it is surprisingly easy to select an area or time range that exceeds this value, especially for higher resolution datasets.
Come up with an appropriate solution that limits the size of the subset NetCDF 3 Classic file output. This may involve splitting the data into multiple files, limiting the size of the data the format specs, or return an error to notify the user if the data is deemed too large. If an incomplete NetCDF file is returned then the user should also be notified.