Add make_function method to Topography and DTopography objects#686
Add make_function method to Topography and DTopography objects#686rjleveque merged 4 commits intoclawpack:masterfrom
Conversation
|
Looks good to me, and a good idea. I wonder if it might be better just to pass a key-words dict to the |
|
Good idea @mandli. Does this look like the best way to do it with the desired default values set for the parameters if not specified by the user? |
|
The defaults for |
|
For the One application of this code is to interpolate the But I should at least document this better, so thanks for the comments! |
|
That makes sense for I think when the default value is not clear that |
|
I put a simple topo example here: This seems to work fine, so I'm going to merge it. |
Make it easier to read in a topo or dtopo file and define an interpolating function that can be used e.g. to plot a transect of the topo or dtopo.
WIP... example to appear.