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

How to run your example? #17

Open
GoogleCodeExporter opened this issue May 18, 2015 · 1 comment
Open

How to run your example? #17

GoogleCodeExporter opened this issue May 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I can't run your example source code.
When I run incompress(in apps/incompress), it needs two grid file.

[ginide@GPUWorks apps]$ ./incompress 
usage: incompress <in.nc> <out.nc> [<tolerance>]

My machine has netCDF 3.6.3, but I can't make that files. 
I made some nc files, but that didn't work.
Please help me.

Original issue reported on code.google.com by gin...@gmail.com on 10 Mar 2011 at 5:49

@GoogleCodeExporter
Copy link
Author

Netcdf is a generic container format, so you can use any netcdf file with any 
application.  The file io routines in opencurrent assume that the netcdf file 
is stored with a certain schema, which is what is generated when you write out 
a vector field for netcdf.

therefore, you will need to create the vector field in opencurrent, then write 
it out using the NetCDF file writing routines.  There is some example code in 
the wiki here:
http://code.google.com/p/opencurrent/wiki/OpenCurrent

-Jon

Original comment by jcohen.p...@gmail.com on 11 Mar 2011 at 6:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant