-
Notifications
You must be signed in to change notification settings - Fork 9
Errors: "ERR_FS_FILE_TOO_LARGE" and "Cannot create a string longer than 0x3fffffe7 characters" #14
Comments
What is your command line exactly ? Are you using a filter on a specific parameter (you should for large files) ? You can also try to limit output precision to 2 digits with |
I'm not applying any parameter filter because I need to extract all parameters. But maybe it would still be better (or at least it may avoid the problem) to apply a different filter in turn, on the same file, rather than trying to process all parameters in one go? I'll try with EDIT I get the exact same errors even with
|
Yes you need to process each parameter separately, probably using fs, fp and fv. This will also allow for paralell processing. |
I'll try filtering on fs and fv too, but surely filtering on fc and fp (which I already tried) should have made enough of a difference to prevent the error? EDIT OK I think that my choice of |
I think I discovered a slight quirk in the way that the filter values are interpreted. In my post a couple of entries up, I use numerical values of But it seems that, to be properly interpreted, we need to pass these as string values
With string values for these filters, it works fine. If you agree, perhaps it would be an idea for the library to use |
Good catch, as we are using options as args of execFile it should be strings. I will fix that with a conversion to string. Thanks for feedback. |
when will the above fix (conversion to string) be available as an actual release? |
So far this excellent library has been great (thanks!). But I've recently been trying to convert grib files from this page to json, within a node.js environment. It seems to be choking on the size of the grib file (or rather the resulting json)... I guess that they are big (e.g. 88 MB) but not completely extreme in the scheme of things (they are supplied by MeteoFrance in that format/size so they must think this is generally usable).
Specifically, I am getting the following error on one of the
Europe
/SP2
grib files (downloadable using the drop-down selections at the bottom of the above page):And on a
Europe
/SP1
grib file I seem to get a slightly different error:These seem to be different to the error I reported here... different error and the solution there (increasing
bufferSize
) doesn't help here.Maybe there is a simple solution to overcoming the limits I'm hitting? Fingers crossed...
The text was updated successfully, but these errors were encountered: