Skip to content

Conversation

@Jiangchao3
Copy link
Owner

new pull request

Keith Roberts and others added 10 commits November 16, 2020 21:13
* Update geodata.m...plot the entire DEM. the domain can be visualized with the `omega` option.
Typo in `msh.m`
* Remove default affiliation from fort.15 writer.
…n.m (#149)

* Adding a fix for the case where no land values are detected by cmocean.m

On a windows machine (since @krober10nd couldn't duplicate on Mac), the
cmocean.m assert will fail when there are no land values and thus the pivot
at zero is outside of the range. This fix will reset the caxis to Pivot --> dp_max
from dp_min --> dp_max. I've also added the case where there are no detected
ocean values and set that to dp_min --> Pivot.

* adding varargin pivot

* Update README.md

Co-authored-by: Keith Roberts <[email protected]>
* fixing the cell-averaging interp option

- unequal dx and dy in the DEM lead to problems with the FindLinearIdx routine.  So fixing this routine to make sure dx and dy can be different.
- adding the 'invert' option to turn off the DEM value inversion usually peformed to make underwater positive.

* Updated msh.plot for plotting depths

* removing the demcmap option
* bug fixes for plotting and mapping boundaries

- cmocean with topo should usually be the inverse if orientation is positive downward
- if the boundary was one node long then would error in the mapMeshProperties function
- for defval or length > 1 the vector needs to a 1 x N array

* changing to map_mesh_properties snake_case format
* re-meshing patches of elements using mesh2d. 

Co-authored-by: WPringle <[email protected]>
* Update and rename Example_12_Remeshing_Patches.m to Example_11_Remeshing_Patches.m

* Update Example_11_Remeshing_Patches.m

fix spacing

* Update Example_11_Remeshing_Patches.m

highlight the mapping of data onto the updated mesh

* Add files via upload
* add patch smoother

- smooths an area in the mesh preserving the boundaries

* Update README.md
@Jiangchao3
Copy link
Owner Author

2020.12.21 pull request

@Jiangchao3 Jiangchao3 merged commit 7c7e311 into Jiangchao3:Projection Dec 21, 2020
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.

3 participants