| 53 | }; |
| 54 | |
| 55 | void check_err(const int stat, const int line, const char *file) { |
| 56 | if (stat != NC_NOERR) { |
| 57 | (void)fprintf(stderr,"line %d of %s: %s\n", line, file, nc_strerror(stat)); |
| 58 | fflush(stderr); |
| 59 | exit(1); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | void writeNRF(char const* filename, std::vector<SRFPointSource> const& sources, Map const& map, bool normalizeOnset) |
| 64 | { |