Project

General

Profile

sellonindexbox error

Added by Ida Bülow Gregersen almost 13 years ago

Hi,
Im very new to CDO but was happy to find a windows version. The installation was easy and your documentation is good. I have been testing the program on a netcdf file of 1.1 Gb (RCM precipitation one year, resolution one hour) only with positive results. However when I run the same procedures on a similar netcdf file of 5.5 Gb (RCM precipitation five years, resolution one hour) the program crashes.

This is my call
cdo selindexbox,107,108,70,71 KNMI-RACMO2_A1B_ECHAM5-r3_1HM_25km_1951-1955_pr.nc KNMI-RACMO2_A1B_ECHAM5-r3_1HM_25km_1951-1955_pr_test.nc

(I have tested sellonlatbox as well with the same result)

The error message is
Assertion failed: pxp->bf_offset <= offset && offset < pxp->bf_offset + <off_t> pxp->bf_extend, file posixio.c, line 325
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team.

The larger netcdf file does (as far as I know) not contain errors, I have been reading it in matlab (using a netcdf toolbox) without any problems

Any help is highly appreciated. I will be happy to provide you with any additional information that you may need.

Thank you
Ida


Replies (4)

RE: sellonindexbox error - Added by Ralf Mueller almost 13 years ago

Hi Ida and welcome to CDO!
You encountered one of the known problems of the binary win32 version (more or #995). You should split your data into shunks smaller than 2G and process them separately, sorry.

best regards
ralf

RE: sellonindexbox error - Added by Ralf Mueller almost 13 years ago

Hi again!

Ida, I just had the idea of creating the precompiled win32 binary a little bit different. Would you like to help me and test this new version with your failing cdo call?
Please extract the uploaded zip into the directory, where your current cdo.exe is placed.

Thanks in advance
ralf

RE: sellonindexbox error - Added by Ida Bülow Gregersen almost 13 years ago

Hi Ralf,
OK, it good to know the source of the error, I will find a way to access a linux platform (I have no software for spliting up netcdf files).

I have tested your new precompiled version and unfortunately it gives the same error. I will be happy other solutions that you come may up with. I believe that CDO is an excellent solution to netcdf analysis (that is quite heavy in matlab) and that some of my colleges would benefit from it as well.

In my own search for a problem solution I did, by the way, test CDO on a 64 bit windows 7 platform (as this computer had more RAM than my personal labtop), and is works (for files less than 2 GB), so Microsoft was right :)

Best regards
Ida

RE: sellonindexbox error - Added by Ralf Mueller almost 13 years ago

Ida,
thanks for testing. You could also use Cygwin, a linux like environment for Windows. It's a small task to compile CDO under cygwin, but you would get a fully functional tool. If you want to go that way and need some help, don't hesitate to ask.

best wishes
ralf

    (1-4/4)