File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ int main() {
111111 if (!didWork)
112112 throw std::string (" init_dipole_grid failed!" );
113113 } else {
114- std::cout << " Making Spherical Magnetic Grid\n " ;
114+ report. print ( 0 , " Making Spherical Magnetic Grid\n " ) ;
115115 mGrid .set_IsDipole (false );
116116 didWork = mGrid .init_geo_grid (quadtree, planet);
117117 mGrid .set_IsGeoGrid (false );
Original file line number Diff line number Diff line change @@ -72,8 +72,10 @@ bool OutputContainer::read_container_netcdf() {
7272 std::string UNITS = " units" ;
7373
7474 try {
75- std::cout << " Reading NetCDF file into container : "
76- << whole_filename << " \n " ;
75+ if (report.test_verbose (0 ))
76+ std::cout << " Reading NetCDF file into container : "
77+ << whole_filename << " \n " ;
78+
7779 NcFile ncdf_file_in (whole_filename, NcFile::read);
7880
7981 std::multimap<std::string, NcVar> variables_in_file;
You can’t perform that action at this time.
0 commit comments