37 ERRMSG(
"Give parameters: <ctl> <atm_in> <atmfmt_in>"
38 " <atm_out> <atmfmt_out>");
44 ctl.
atmfmt = atoi(argv[3]);
48 ctl.
atmfmt = atoi(argv[5]);
int main(int argc, char *argv[])
void write_atm(const char *dirname, const char *filename, const ctl_t *ctl, const atm_t *atm)
Write atmospheric data to a file.
void read_ctl(int argc, char *argv[], ctl_t *ctl)
Read model control parameters from command-line and configuration input.
void read_atm(const char *dirname, const char *filename, const ctl_t *ctl, atm_t *atm)
Read atmospheric input data from a file.
JURASSIC library declarations.
#define ERRMSG(...)
Print an error message with contextual information and terminate the program.
Atmospheric profile data.
int atmfmt
Atmospheric data file format (1=ASCII, 2=binary).