Skip to content

Commit

Permalink
add geo data source
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 committed Jul 14, 2024
1 parent 2599ce5 commit 3e0bb22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/eamxx/src/python/libpyscream/pygrid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ inline void create_grids_manager (int ncols, int nlevs, const std::string& latlo
pl.set("number_of_global_columns",ncols);
pl.set("number_of_vertical_levels",nlevs);
gm_params.set("grids_names",grids_names);
gm_params.set("geo_data_source",std::string("CREATE_EMPTY_DATA"));

if (latlon_nc_file!="") {
gm_params.set("geo_data_source",std::string("IC_FILE"));
gm_params.set("ic_filename",latlon_nc_file);
}

Expand Down

0 comments on commit 3e0bb22

Please sign in to comment.