-
Notifications
You must be signed in to change notification settings - Fork 17
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
Problem with parameterList during runLPJ. #55
Comments
Hi, which 3.1 version are you running, i.e. where did you get it from? Best |
Hi Florian, |
Hi Florian,
Thank you for your reply. I have mentioned about the version details of lpj
guess, cmake and windows visual studio that I am using in the git hub
reply.
Thanks and regards
Mareena
…On Mon, 23 Dec 2024, 8:23 pm Florian Hartig, ***@***.***> wrote:
Hi,
which 3.1 version are you running, i.e. where did you get it from?
Best
Florian
—
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNUTBPIDOMSCYPCDINZHIBL2HAPWFAVCNFSM6AAAAABUCOLTCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZHA2DOMBVGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi Mareena, OK, I see, thanks! I have to look at this in more detail. The issue is that different versions of the model (although all labeled 3.1) had different parameter / configuration / output files. At the time, our R package only worked with the model version from the Lund repository, but not with other 3.1 versions that were used in different research groups, including the educational 3.1 version that was downloadable from the LPJ-GUESS website. I had a PhD student that had worked with a later LPJ-GUESS version from Munich and adopted the code of the package for that purpose. He also changed the code so that it's easier adoptable to other configuration / output files. This updated code of the R package is available as a pull request here https://github.com/biometry/rLPJGUESS/pulls and you could try if it works for you, but there is no guarantee as I didn't have the personpower to test how well this works for different LPJ-GUESS releases. If you're interested in trying this out and / or further adopting the R code, I'd be happy to assist in that. Best |
Dear Florian, Yes I am interested to to work on it further. I tried to copy the changed files from the pull request that you mentioned and copy it to the corresponding files in the .tar.gz file of stable release (rLPJGUESS v1.1.0). But I am unable to make changes inside that. I also tried to make the changes after extracting it and then tried to compress back into .tar.gz file, but then it shows error in installation. Next, I downloaded the pre-release version (https://github.com/biometry/rLPJGUESS/releases/download/v1.1.2/rLPJGUESS_1.1.2.tar.gz) which includes the changed files from the pull request and tried to run using the original instruction (given in the appendix documents). but I am getting an error (given below).
|
Hi Mareena, with very high likelihood, the problem is simply that the structure of the configuration files is different to what it was when we worked with the 3.1 version at the time. So, this will likely need to be changed in the R code. I will try to put someone to work on this, but am unsure how swift we can solve this problem. Alternatively, if you can work on it and feel you have the skills, please go for it. Depending on your employment status and location, I could even put a small bounty / payment on this (if you're interested, to be discussed via email). Best |
Dear developers,
I am trying to run the rLPJGUESS v.1.1.0 using the LPJ-GUESS v.3.1 (as suggested in the r package). But I get the following error that parameter list is invalid. the expected class of parameterList object is Matrix but it returns both Matrix and array as its class. I have not changed any settings as of now and I am trying to do the test run using the given code and files. Any help would be greatly appreciated.
Thank you
Using package template (template 1)
Saving package template in the mainDir
Using package template (template 2)
Saving package template in the mainDir
Error in if (class(parameterList) == "matrix") { :
the condition has length > 1
In addition: Warning messages:
1: In createSingleObject(x, typeList, settings) :
The file.wetdays has not been provided
2: In createSingleObject(x, typeList, settings) :
The file.minTemp has not been provided
3: In createSingleObject(x, typeList, settings) :
The file.maxTemp has not been provided
4: In createSingleObject(x, typeList, settings) :
The variable.wetdays has not been provided
5: In createSingleObject(x, typeList, settings) :
The variable.minTemp has not been provided
6: In createSingleObject(x, typeList, settings) :
The variable.maxTemp has not been provided
Error in runLPJ(x = mainDir, parameterList = parameterStandard_PFT, typeList = typeList, :
Invalid parameterList provided
The text was updated successfully, but these errors were encountered: