Hello friends.
I have a problem running the RPM model with the data samples presented. This problem can be seen in 3 versions as shown below. Thanks for the tips
ValueError: Could not open D:\Keshtkar\rpm\sample_inputs_RPM_0.1.2\precipitation as a gdal.OF_RASTER
Hi @esoth
I also tried V1.3 and 1.6. And I even checked the sample data of each version with different V of RPM. But the error did not go away. I even created new data, but all versions had this error. Layers were a bit difficult in V1.2, but opened in other versions in ArcGIS.
Hi @mostafa.keshtkar, if this is still an issue, could you upload the full logfile from your run of RPM? There’s usually some extra helpful information in the logfile that might point us in the right direction.
Thanks for your logfiles, @mostafa.keshtkar. While the problem is not immediately clear from these, I see that you’re running RPM version 0.1.2. The latest version is 0.2.0, and includes a few bugfixes related to precipitation inputs. Could you try this latest version and see if that corrects the issue for you? If it still isn’t working, please do write back to us and let us know so we can help figure it out from there.
Hi and Thanks for your guide @jdouglass and @GingerK. But unfortunately, I got a new error in V0.2.0. And I could not run the model to see if the previous error was fixed.
: _ (
Hi @mostafa.keshtkar , my apologies, the key that I gave you above contained a mistake. Please see this sample input key below, and note that the value you should supply for the “Plant Functional Type Fractional Cover Pattern” input contains the string “<PFT>”. Also, the issue that you were experiencing with previous versions of RPM was related to the format of the input expected for the precipitation data. The inputs can be a bit tricky. If you pay close attention to this sample input key and the inputs section in p. 8-11 of the model documentation, the sample inputs should work just fine for you.
However, we’ve just discovered a bug in v0.2.0 that may prevent the model from running. I’ll let you know here as soon as a bugfix is released.
Hi @GingerK. That’s all right. Thank you for helping me. But as you said, I got a new error. This error is shown below. I have tried different directories and every time I encounter this error.
thanks
@Said the “workspace directory must be empty” error exists because the model expects to run with a workspace that has never been used. I’d recommend that you either:
Delete the prior workspace in its entirety or
Select a different workspace directory
that will get you past this error anyways,
I see that you posted this other error message elsewhere, so let’s try to resolve the issue there.
hi @jdouglass I get this error “base_raster_path_band_const_list` is empty and should have at least one value”,in the last version of rangland production.could you help me with it
Closing this thread since we now have several separate issues all in the same thread. If anyone has further issues with the Rangeland Production Model, please create a new topic. Thanks!