[MITgcm-devel] netcdf

Martin Losch mlosch at awi-bremerhaven.de
Mon Dec 20 12:12:17 EST 2004


Something like that is fine, i guess.

Martin
On Dec 20, 2004, at 5:59 PM, Ed Hill wrote:

> On Mon, 2004-12-20 at 17:39 +0100, Martin Losch wrote:
>
>> By now, I know what it means, but for the "uninitiated" user this may
>> be a little bit confusing, don't you think?
>> Possibly, I haven't found the switch that let's me overwrite old 
>> netcdf
>> files (if I don't want to have new directories for every run), but I
>> would think that  either the netcdf files are overwritten by default
>> (as the *.data *.meta files), or there should be a more intuitive 
>> error
>> message. What do you think?
>
> Hi Martin,
>
> We had a meeting some months ago where it was decided that the default
> behavior was a good thing since users would be a lot less likely to
> accidentally delete previous runs.  So I think the no-overwrite 
> behavior
> stays.
>
> But I do agree that the current error message is lousy.  I'll look into
> the code and change it so that the error message says something like:
>
>   "ERROR:  MNC will not overwrite variables in existing NetCDF
>    files -- please make sure that you aren't trying to
>    overwrite output from a previous model run."
>
> And would that be enough for you?
>
> Ed
>
> -- 
> Edward H. Hill III, PhD
> office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
>              Cambridge, MA 02139-4307
> emails:  eh3 at mit.edu                ed at eh3.com
> URLs:    http://web.mit.edu/eh3/    http://eh3.com/
> phone:   617-253-0098
> fax:     617-253-4464
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list