File | Date | Author | Commit |
---|---|---|---|
html | 2012-10-22 |
![]() |
[3131e5] Initial commit. |
libs | 2012-10-22 |
![]() |
[3131e5] Initial commit. |
src | 2012-10-22 |
![]() |
[3131e5] Initial commit. |
test | 2012-10-22 |
![]() |
[3131e5] Initial commit. |
.gitignore | 2016-02-17 |
![]() |
[b3ac69] update |
COPYING | 2012-10-22 |
![]() |
[3131e5] Initial commit. |
Makefile | 2012-10-22 |
![]() |
[51c9be] Enhanced make dist. |
Makefile.inc | 2012-10-22 |
![]() |
[3131e5] Initial commit. |
README.md | 2012-10-22 |
![]() |
[3131e5] Initial commit. |
Creates a NetCDF file from command-line arguments. Variables can be any type and filled with data in 5 ways, either a constant, a checker pattern, randoms, linear range, or a sombrero ripple function, all of which can be animated too if they use a record dimension. Specific constants and randoms allowed include positive/negative infinity, NaN, negative zero, minimum denormalized positive for a datatype, and min/max for a datatype. Global and variable attributes can also be created. Advanced controls exist for choosing alignment, blocksize, file flavor (classic or HDF5), prefill, initial size, and header pad. ncmock has throughput and peak memory calipers, so it can also be used as a benchmark tool.
# Create ripple data animated in time.
ncmock -d x,300 -d y,300 -d t,10,record -v test,f,t,y,x,fun1 -n ripple,fun1,5,5 -p ripple.nc
# Create checkerboard data animated in time.
ncmock -d x,300 -d y,300 -d t,10,record -v test,f,t,y,x,fun1 -n checker,fun1,50,50 -p checker.nc
# Create linear range data animated in time.
ncmock -d x,300 -d y,300 -d t,10,record -v test,f,t,y,x,fun1 -n range,fun1,0,1 -p range.nc
# Create constant fill data.
ncmock -d x,300 -d y,300 -d t,10,record -v test,f,t,y,x,fun1 -n const,fun1,0 -p constant.nc
# Create random data animated in time.
ncmock -d x,300 -d y,300 -d t,10,record -v test,f,t,y,x,fun1 -n rand,fun1 -p random.nc
make
make test
make memtest
make example
src/ncmock --help
make clean
make html
make dist VER=0.0.1
v0.0.1 2011/12/19
- Bug fix, 0D record values range did not export, such as for "double rec(rec)".
v0.0.0 2011/11/19
- Initial release. Fully tested and no bugs or memory leaks.
ssh -t rsz,ncmock@shell.sourceforge.net create
scp html/* rsz,ncmock@shell.sourceforge.net:/home/project-web/ncmock/htdocs
scp ../ncmock-0.0.1.tar.gz rsz,ncmock@shell.sourceforge.net:/home/frs/project/n/nc/ncmock
Copyright 2011,2012 Remik Ziemlinski under the terms of the GNU General Public License
<link rel="stylesheet" href="http://yandex.st/highlightjs/7.0/styles/default.min.css">
<script src="http://yandex.st/highlightjs/7.0/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> <style type="text/css"> body { font-family: Sans-Serif; } </style>