Now using TMPMEMFREE but still thrashes memory for very large mesh. Future solution will be to use NetCDF subsetting and less temp memory.