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

WIP: Topotool updates #210

Merged
merged 10 commits into from
Jun 13, 2016
Merged

WIP: Topotool updates #210

merged 10 commits into from
Jun 13, 2016

Conversation

rjleveque
Copy link
Member

Some change in default behavior of Topography.write that should be examined.

Enhancement of Topography.crop to support coarsening a topo grid as well.

Several Travis tests currently fail, also on master, so we need to sort this out before merging.

@mandli
Copy link
Member

mandli commented Apr 25, 2016

This seems odd that this is failing like it is. Do we just need to update the tests?

…t, same as read, rather than third, and 2) write with format 9.3f by default for smaller files, with new parameter Z_format to change. Also modified test problems for backward compatibility
…y rather than e.g. topo2writer, which should be deprecated, and changed output format for backward compatibility
…d by sampling every points, defaults to 1. Also allow filter_region=None to use entire region when coarsening.
@rjleveque
Copy link
Member Author

@mandli: Don't merge yet, I need to fix some things in topotools.

By the way, the file tests/bowl_slosh/regression_data/gauge00001.txt seems to have a different format than the gauge files now being generated.

@rjleveque
Copy link
Member Author

@mandli: I fixed up the regression tests that were broken here and travis is now happy, but I think there's a potential problem with the way gauge tests are done to be addressed at some point. See clawpack/clawutil#101.

I changed the default Topography.write format to %15.7e since my earlier choice of %9.3f seemed potentially dangerous in retrospect.

@mandli
Copy link
Member

mandli commented Jun 6, 2016

This all looks good to me. Is this ready to be merged then?

@rjleveque
Copy link
Member Author

Yes, I think so.

@rjleveque rjleveque merged commit abb695c into clawpack:master Jun 13, 2016
@rjleveque rjleveque deleted the topotool_updates branch July 11, 2022 14:15
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.

2 participants