Issue 17 in opencurrent: How to run your example?

19 views
Skip to first unread message

openc...@googlecode.com

unread,
Mar 10, 2011, 12:51:31 AM3/10/11
to opencurr...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 17 by gin...@gmail.com: How to run your example?
http://code.google.com/p/opencurrent/issues/detail?id=17

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.


openc...@googlecode.com

unread,
Mar 11, 2011, 1:33:41 PM3/11/11
to opencurr...@googlegroups.com

Comment #1 on issue 17 by jcohen.p...@gmail.com: How to run your example?
http://code.google.com/p/opencurrent/issues/detail?id=17

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

Reply all
Reply to author
Forward
0 new messages