Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No. You can read the filter rules directly from the standard input (stdin) by using the "-" (a single hyphen) instead of the rules file path.  For example:

Code Block
languagebash
% echo 'set edition=2; print "[centre]"; write;' | grib_filter -o out.grib2 - in.grib1


Or like this:

Code Block
languagebash
% grib_filter -o out.grib2 - in.grib1 <<EOF
set edition=2;
print "[centre]";
write;
EOF

...