-
Notifications
You must be signed in to change notification settings - Fork 167
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
output script to create land and nitrogen inputs for LPJmL #204
Conversation
print("generating INMS output for the run: ") | ||
print(title) | ||
|
||
filename=paste0(outputdir,"report_",title,".mif") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a little thing but you have a few "=" instead of the common "<-" . Also, I don't see where this "filename" variable is used in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- "=" instead of the common "<-" .
*Also, I don't see where the "filename" variable is used in.
deleted filename
added newline at the end of the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would like to have a comment first on the folder structure before approval
(if there are good arguments, I also do not request a change).
untar(tarfile = tgz, files = "lpj_yields_0.5.mz", exdir=outputdir) | ||
|
||
print("create an separate output directory for cellular results") | ||
outputpath<-paste0("./output/",title,"/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question: Why this will be a seperate output dir?
Seems to be like the normal naming convention for runs (without the time tag), but maybe I oversee something. If not:
- Doesn't it makes sense to store the created output together with the fulldata.gdx and the config.log for more transparency?
- And if not possible, could the outputpath have a reference in the name for being cellular output to a specific outputdir? (paste0(title,"_cellular") or something like that).
At the moment I am afraid, we might lose a bit track about which cellular postprocessed data belongs to which run.
No description provided.