METplus use case errors METdbLoad 5.1.13.1, Marine and Cryosphere 5.2.5.2 and 5.2.5.6 #1745
-
I am having multiple issues when running some METplus use cases. When running the METdbLoad 5.1.13.1 use case I am getting a pandas error stating
When running two of the Marine and Cryosphere use cases, 5.2.5.2 GridStat: Python Embedding to read and process ice cover and 5.3.5.6 PlotDataPlane: Python Embedding of tripolar coordinate file, I get the same error stating
We are using newer versions of the METplus Python packages so I am not sure if it may be an issue with how the sample data is formatted that newer versions now don't accept or anything like that. I have attached the full logs for each of the errors as well as a list of our Python packages installed with their versions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
@tmalcala I see that you're having some python issues here! My colleague @georgemccabe commented that this is likely due to the METdataio pandas version issues we have been discussing recently. @venitahagerty has found that there is a bug in pandas 1.4.2 that is causing this issue. The bug does not exist using pandas 1.2.3 but it appears to have been reintroduced since that version.' @venitahagerty can you offer any suggestions for @tmalcala on how best to proceed? |
Beta Was this translation helpful? Give feedback.
-
Hi @tmalcala, regarding the "failed to get buffer" error: I ran the ice cover use case locally and while I did see the UserWarning you see, I did not get the same error that you see. I would suggest running the Python Embedding script outside of METplus to see if any errors are output that may suggest why it failed. You command would look something like this:
Make sure that the version of python3 used to run the script is the same version that is used to execute Python Embedding through METplus. |
Beta Was this translation helpful? Give feedback.
Hi @tmalcala, regarding the "failed to get buffer" error:
I ran the ice cover use case locally and while I did see the UserWarning you see, I did not get the same error that you see. I would suggest running the Python Embedding script outside of METplus to see if any errors are output that may suggest why it failed. You command would look something like this:
python3 /lustre/cyclone/nwp607/scratch/alcalat/metplus/metplus-TADS-15486/parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsOSTIA_iceCover/read_ice_data.py ./metplus_sample/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsOSTIA_iceCover/20210305_rtofs_glo_2ds_n024_ice.nc ./metplus_sample/mode…