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

deploy floaters in 2D x-z plane #77

Open
miniufo opened this issue Feb 28, 2020 · 0 comments
Open

deploy floaters in 2D x-z plane #77

miniufo opened this issue Feb 28, 2020 · 0 comments

Comments

@miniufo
Copy link

miniufo commented Feb 28, 2020

@rabernat Hi, I am trying to use this package in my work.

I've setup a MITgcm run to simulate internal wave in 2D x-z plane, in which there is only one grid in y direction. I need to deploy floaters in different depths with a specified interval dz.

I tried to use the FloatSet:

flts = FloatSet(xlim=[0, X], ylim=[0, Y], dx=1000, dy=100, zvect=zdef)
flts.to_mitgcm_format('./flt_init.dat', iup=-1, read_binary_prec=32)

However, the FloatSet seems to be a horizontal 2D deployment and repeats for every zvect. It does not have a keyword argument like zlim and dz.

So I wonder how to deploy 2D float set in x-z plane with a given dz? I may have a try to modify the code. But I not sure I know exactly how to push my version back to this repo (I'm new to git).

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

No branches or pull requests

1 participant