4.4 FERRET PROGRAM LIMITS
There are a number of hard limits and settings in the Ferret code: the number of variables that may be defined, the number of datasets open at a time, the length of certain strings, etc. Some of these limits have been relaxed with successive Ferret versions as computing resources have expanded. Here are the limits as of Ferret version 5.41:
|
Parameter Name |
Value |
Description |
|
Parameter Name |
Value |
Description |
|
memsize |
25.6 |
Initial size of memory at startup, in Megawords. You can always change the memory at startup with the -memsize option, or during a Ferret session with the SET MEMORY command. SHOW MEMOR gives the current size of the memory cache. |
|
cmnd_buff_len |
2048 |
Length of the command buffer. You can make long commands more readable using the continuation character backslash \ |
|
Number of arguments to go scripts |
99 |
Maximum number of arguments to a go script. Use the syntax ($nn) or $nn in the script. (See Arguments to GO tools) |
|
Length of arguments to go scripts |
511 |
Maximum length in characters of each argument to a go script. |
|
maxvars |
2000 |
Maximum number of all variables defined by SET DATA (including aliases USE and FILE) |
|
max_uvars |
2000 |
Maximum number of all user-defined variables (LET var = ) |
|
maxezvars |
100 |
Maximum number of variables that can be read from a single delimited ASCII file, using SET DATA/FORMAT=DELIMITED |
|
maxezfreefmtvars |
20 |
Maximum number of variables that can be read in free format from a single ASCII file, e.g. in SET DATA/EZ/VARIABLES="var1,var2" |
|
maxdsets |
100 |
Maximum number of data sets simultaneously open (as seen through SHOW DATA) |
|
maxstepfiles |
5000 |
Maximum number of files with time step data. These are read via descriptor files. This is a limit on the cumulative sum of all files in all open multi-file data sets. |
|
s_filename |
128 |
Maximum length of the filenames listed within descriptor files. |
|
length of variable names |
128 |
Maximum length of all variable names. |
|
length of label text |
2048 |
Maximum length of labels. |
| max_viewports | 200 | Maximum number of pre-defined viewports. |
|
max_grids |
500 |
Maximum number of static grids (grids defined by DEFINE GRID). |
|
max_dyn_grids |
1000 |
Total number of grids that can be defined at any time, static and dynamic. Dynamic grids are created by opening data sets and by implicit regridding operations such as strides (e.g. var[i=1:100:10]), regridding operations between grids of different dimensionality (e.g. temp4d[g=sst]), and external functions that create new grids (e.g. EOF_SPACE(A, F)) . |
|
max_lines |
1000 |
Maximum number of static axes. Static axes are axes defined by DEFINE AXIS |
|
max_dyn_lines |
1500 |
Total number of axes, static and dynamic, thatcan be defined. Dynamic axes are defined by opening data sets and by implicit regridding operations such as strides (e.g. var[i=1:100:10]), regridding operations between grids or axes of different dimensionality (e.g. temp4d[gx=sst]), and external functions that create new grids (e.g. SAMPLEXY(sst, xpts, ypts)) |
|
maxlinestore |
250000 |
Maximum number of coordinates in all irregular axes. This is the sum of all the coordinates of irregular axes currently defined via opening files and DEFINE AXIS, and includes storage for the edges of the grid cells defined by these axes. Coordinate storage may be recovered with the CANCEL AXIS command. |
|
abstract_line_dim |
20480 |
Dimension of the default abstract axis for reading ASCII data. To read larger amounts of data, explicitly define an axis or grid. |
|
ef_max_args |
9 |
Maximum number of arguments that may be passed to an external function. |
|
ef_max_work_arrays |
9 |
Maximum number of work arrays defined by an external function for use by that function. |
|
spec_size |
250 |
Maximum number of levels in a spectrum, or palette file (.SPK) |
|
pattern_num |
50 |
Maximum number of patterns defined in a pattern file (.PAT) |
|
year |
Years in dates may take values from 0000 to 9999 |
For help with Ferret see our Support Policy.