Re: different size netCDF files generated from NCL on different machines

From: Dave Allured - NOAA Affiliate <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Wed Jun 18 2014 - 16:57:31 MDT

Marc,

An important clue is where you said different results when run on command
line versus shell script. You might be launching a different NCL version
through the shell script. Try ncl -V (display version number) on command
line and in script.

Look for other differences. First compare ncdump -k between differing
files, just in case your format assumption is wrong. Then compare ncdump
-hs, line by line. In particular, compare dimension sizes and compression
parameters. Also look for missing variables.

Check for unexpected program abort for the process that makes the smaller
file. It is possible that you have a partially written file that is still
valid Netcdf4/HDF5, but partially empty data. Such file could possibly
match in terms of variables and dimension size, but be physically smaller.

--Dave


On Wed, Jun 18, 2014 at 2:45 PM, Marcella, Marc <MMarcella@air-worldwide.co=
m
> wrote:

> Hi all,
>
>
>
> I am finding a peculiar instance that when an identical netcdf file is
> written via NCL (NetCDF 4 Classic, compression level 5,) on one machine t=
he
> file is 5.6GB but on the other computer its size is 9GB. To the best of =
my
> knowledge, the files are identical when opened (type, values, etc.) What
> is odder is that if I execute the NCL script (and ensure they are using t=
he
> same version of NCL) from the command line instead of from the shell
> script, the file sizes are identical.
>
>
>
> Are there certain checks I am missing that I should try? I believe both
> machines are using the same NetCDF libraries, but could that be the issue=
?
> Anyhow, I am somewhat stumped and believe it must be a machine environme=
nt
> issue difference when both machines execute the shell script that calls t=
he
> NCL script to generate the netcdf. Any help you could lend would be
> greatly appreciated…thanks!
>
>
>
> -Marc
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

Received on Wed Jun 18 10:57:41 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:46 MDT