Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to use read.snapshot without filtering, and to pass filter.function #79

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

orichters
Copy link
Contributor

@orichters orichters commented Oct 19, 2023

  • if you don't supply a filter but just want to profit from the correct quote and na settings, don't fail if grep, head and tail are not available, but just read it
  • allow to pass a filter.function to read.quitte, and transform the list-based filtering into filter function
  • I took out the temperature variable, because somehow read.quitte on Windows transforms °C from the mocked IIASA snapshot mif file written with write.table into <U+00B0>C and I don't want to debug that… Writing with write.mif is fine, so no need to worry.

@orichters orichters changed the title allow to use read.snapshot without filtering if grep etc. not present allow to use read.snapshot without filtering, and to pass filter.function Oct 20, 2023
@orichters orichters merged commit bad2a28 into pik-piam:master Oct 20, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants