Skip to content

Commit

Permalink
Adding docs/runtime/env_vars.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dixon committed Nov 30, 2024
1 parent 36da7ee commit e134b1a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/runtime/env_vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ and distributed server system).
| SPDB_ALLOW_NO_LOCK | undefined | If set to "true", the Spdb library will not require a lock on the data base files for reads. Locks are still required for writes. This may be used if you are reading data across a cross-mount for which file locking is not implemented. However, the better strategy is to contact a server which has local access to the data. | Spdb |
| CLOSE_SOCKET_IN_CHILD | undefined | If set to "true", the servers will close the listening socket in child processes. This should not be necessary, but was for Linux kernels 2.0.x, and possibly earlier kernels. It is not necessary on Solaris or Linux potato or kernels 2.4 and later. Only set this variable if your system is getting too many open files. You can check this with the 'lsof' command. | dsserver |
| MAX_FORECAST_LEAD_DAYS | 10 | When seraching a directory for data stored in forecast file name format (yyyymmdd/g_hhmmss/f_ssssssss.ext) the library needs to know how far back in time to look for forecast data which may be valid at the current time. It looks back a maximum of this number of days. | didss |

## MDV_WRITE_FORMAT

Set the write format for MDV apps.

The Options are:

| MDV_WRITE_FORMAT | FORMAT_NCF | Format for writing MDV files. Options are:
* FORMAT_NCF (NetCDF CF, the default)
* FORMAT_MDV (legacy 32-bit format)
* FORMAT_XML (XML header and data buffer)
| Mdvx |

0 comments on commit e134b1a

Please sign in to comment.