NOAA-ORR-ERD / PyGnome

The General NOAA Operational Modeling Environment
https://gnome.orr.noaa.gov/doc/pygnome/index.html
Other
57 stars 44 forks source link

version of Oil object #133

Closed larissafranklin23 closed 1 year ago

larissafranklin23 commented 1 year ago

How could I fix it? image

coconnor8 commented 1 year ago

The version of the adios_db does not match the version that was used to create your oil.The oil's version is in the field adios_data_model_version . If that is '0.12.0' you need to update adios_db. Otherwise get a new copy of the oil.

larissafranklin23 commented 1 year ago

Keep getting the same error. I tried to reinstall the adios_db with the zip in the main page of ADIOS. I also tried to get a new copy of the oil and I'm getting the same problem.

image

ChrisBarker-NOAA commented 1 year ago

Somehow you still have an old(er) version of the adios_db package.

You want the production branch from here:

https://github.com/NOAA-ORR-ERD/adios_oil_database

which is version 1.0.2

But the last release on gitHub is 1.0.1, which should also work. But you are running 1.0.0b1

I'll make a new release now, but somehow your update didn't take.

You can also check the actual version running with:

python -c "import adios_db; print(adios_db.version)"

-CHB

larissafranklin23 commented 1 year ago

Now I have the actual version of adios_db but I'm still getting the same error. I also checked my PyGnome version and everything seems to be ok. image

ChrisBarker-NOAA commented 1 year ago

look at your output -- you still have adios_db version 1.0.0b1 -- not 1.0.2

https://github.com/NOAA-ORR-ERD/adios_oil_database/releases/tag/v1.0.2

larissafranklin23 commented 1 year ago

Now I solve the problem of the adios version, thank you. But now I'm facing another problem. When I use gas-oil-exxon_AD00458 my model runs ok but when I try to use other oils from the adios database, this is the message that appears to me.

Do you know how can I fix it? image

ChrisBarker-NOAA commented 1 year ago

This is a bug that was fixed recently -- make sure to use the latest "production" branch.