ww3_utils's People
ww3_utils's Issues
Obstruction files for plot_grid.py
Hi!
I have been checking the file plot_grid.py
in order to recreate the plots resulting from the joint use of OceanMesh2D (which provides the general mesh file) and AlphaBetaLab (which provides the obstruction files).
I have seen that plot_grid.py
works nicely for the "bot" and "mask" files. However, the two "obstruction" files that anyone can get from AlphaBetaLab have a very different format that cannot be read by np.loadtxt(). For instance, they typically start with things like:
$WAVEWATCH III SHADOW OBSTRUCTIONS
18015
$ ilon ilat of the cell. lon: -0.0, lat: -43.0
1 95
$ sizes of the cell in km
40.628 44.286 49.408 56.200 64.946 66.929 64.335 61.661 58.470 56.605 60.148 63.041 65.602 68.436 60.299 52.583 46.650 42.290 42.290 46.650 52.583 60.299 68.436 65.602 63.041 60.148 56.605 58.470 61.661 64.335 66.929 64.946 56.200 49.408 44.286 40.628
$ mean alpha: 0.9371637038137896
$ mean beta: 0.9448303374500736
$alpha by ik, ith
In addition, they have many other lines and parts along the file that are not directly readable, like those of the alpha and beta ik, ith.
Then, the question is, are you using a different tool or format to represent the obstructions file with plot_grid.p
?
Thank you so much!
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.