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

Value for parameter REALLOC_DVS missing #99

Open
sunkq1 opened this issue Feb 8, 2025 · 2 comments
Open

Value for parameter REALLOC_DVS missing #99

sunkq1 opened this issue Feb 8, 2025 · 2 comments

Comments

@sunkq1
Copy link

sunkq1 commented Feb 8, 2025

Dear ajwdewit,

When I use build Wofost81_NWLP_CWB_CNB, the missing REALLOC_DVS is displayed. My tobacco crop file is from the website https://github.com/ajwdewit/WOFOST_crop_parameters. I changed the values and didn't increase or decrease the number of parameters.I noticed that you are using cropd = YAMLCropDataProvider (Wofost81_PP) in REDEME.I found that the number of parameters is not the same for the two crop files, the latter containing REALLOC_DVS.I want to use my own crop file to run the model.Does this mean that you need to update the crop files in your https://github.com/ajwdewit/WOFOST_crop_parameters?

Image

Hope you could fix it.

@ajwdewit
Copy link
Owner

Hi, the parameters are there : https://github.com/ajwdewit/WOFOST_crop_parameters/blob/wofost81/tobacco.yaml#L449

I think you are looking at the wrong branch of the git repository.

If you to like this, the CropDataProvider will automatically pick the right branch from the git repo:

cropdata = YAMLCropDataProvider(Wofost81_NWLP_CWB_CNB)

@venomj26
Copy link

venomj26 commented Mar 6, 2025

Hi ajwdewit,
maize doesnot show up in :
from pcse.input import YAMLCropDataProvider
p = YAMLCropDataProvider(Wofost81_NWLP_MLWB_SNOMIN)
p.print_crops_varieties()

output:
crop 'barley', available varieties:

  • 'Spring_barley_301'
    crop 'cassava', available varieties:
  • 'Cassava_VanHeemst_1988'
    crop 'chickpea', available varieties:
  • 'Chickpea_VanHeemst_1988'
    crop 'cotton', available varieties:
  • 'Cotton_VanHeemst_1988'
    crop 'cowpea', available varieties:
  • 'Cowpea_VanHeemst_1988'
    crop 'fababean', available varieties:
  • 'Faba_bean_801'
    crop 'groundnut', available varieties:
  • 'Groundnut_VanHeemst_1988'
    crop 'mungbean', available varieties:
  • 'Mungbean_VanHeemst_1988'
    crop 'pigeonpea', available varieties:
  • 'Pigeonpea_VanHeemst_1988'
    crop 'potato', available varieties:
  • 'Potato_701'
  • 'Potato_702'
  • 'Potato_703'
  • 'Potato_704'
  • 'Innovator'
  • 'Fontane'
  • 'Markies'
  • 'Premiere'
  • 'Festien'
    crop 'rapeseed', available varieties:
  • 'Oilseed_rape_1001'
  • 'Oilseed_rape_1002'
  • 'Oilseed_rape_1003'
  • 'Oilseed_rape_1004'
    crop 'rice', available varieties:
  • 'Rice_501'
  • 'Rice_HYV_IR8'
  • 'Rice_IR64616H_DS'
  • 'Rice_IR64616H_WS'
  • 'Rice_IR64'
  • 'Rice_IR72'
  • 'Rice_IR72_DS'
  • 'Rice_IR72_WS'
  • 'Rice_IR8A'
    crop 'soybean', available varieties:
  • 'Soybean_901'
  • 'Soybean_902'
  • 'Soybean_903'
  • 'Soybean_904'
  • 'Soybean_905'
  • 'Soybean_906'
  • 'Soybean_VanHeemst_1988'
    crop 'sugarbeet', available varieties:
  • 'Sugarbeet_601'
  • 'Sugarbeet_602'
  • 'Sugarbeet_603'
  • 'Sugarbeet_604'
    crop 'sunflower', available varieties:
  • 'Sunflower_1101'
    crop 'sweetpotato', available varieties:
  • 'Sweetpotato_VanHeemst_1988'
    crop 'tobacco', available varieties:
  • 'Tobacco_VanHeemst_1988'
    crop 'wheat', available varieties:
  • 'Winter_wheat_101'
  • 'Winter_wheat_102'
  • 'Winter_wheat_103'
  • 'Winter_wheat_104'
  • 'Winter_wheat_105'
  • 'Winter_wheat_106'
  • 'Winter_wheat_107'
  • 'Bermude'
  • 'Apache'
  • 'Arminda'
  • 'Kanzler'
  • 'Bussard'
  • 'Ramiro'
  • 'Greif'
  • 'Julius'
  • 'Ritmo'
  • 'Tabasco'
    crop 'seed_onion', available varieties:
  • 'onion_agriadapt'
    However I see it in your repo https://github.com/ajwdewit/WOFOST_crop_parameters/blob/master/maize.yaml.
    Could you help me with this? I am using wofost 6.0.6

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

No branches or pull requests

3 participants