Comments (2)
The following works (for nb_wave_rays = 1
):
ipx=float(xx[0])
ipy = float(0.5*YN-Y0)
type(ipy),type(ipx)
It does not work using np.float numbers
from ocean_wave_tracing.
Fixed by making it more generic by restructuring and using np.isfinite.
from ocean_wave_tracing.
Related Issues (18)
- implement method for returning a xarray dataset of wave rays once solved
- make test to verify the deflection direction according to vertical vorticity HOT 1
- Get rid of the filterwarnings
- Make ray output more obvious and add more layers per ray HOT 1
- fix relative import error
- Add a method to check numerical stability by CFL criteria
- modulus of nan values
- Fix plotting option in the integration tests
- Add verification NBs
- add __init__.py files
- Make simple POC example
- Fix velocity checker HOT 1
- add notebooks/ocean_model_example.ipynb
- Ambient conditions must follow standards HOT 1
- make default solver RK4
- add docstring tests
- Make the output file writer more sophisticated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocean_wave_tracing.