Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cartesian mesh reader regex support #484

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

elbashandy
Copy link
Contributor

@elbashandy elbashandy commented Oct 6, 2020

Resolves #288
does not resolve 316

Copy link
Collaborator

@burlen burlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of changes to make here.

@@ -240,28 +239,10 @@ def execute(self, port, data_in, req_in):
rex.set_start_index(check_step)
rex.set_end_index(check_step)

fn = file_util.replace_timestep(baseline, check_step)
do_test = system_util.get_environment_variable_bool('TECA_DO_TEST', True)
if do_test and os.path.exists(fn):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't remove the TECA_DO_TEST feature, which can be used to automatically regenerate baselines across all tests. it has been removed here and in other tests that were modified.

@@ -111,6 +117,7 @@ void teca_cartesian_mesh_reader::set_properties(const std::string &prefix,
variables_map &opts)
{
TECA_POPTS_SET(opts, std::string, prefix, file_name)
TECA_POPTS_SET(opts, std::string, prefix, files_regex)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only need one of these options. Either file_name or files_regex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add regex support to teca_cartesian_mesh_reader
2 participants