Closed dkang2 closed 10 months ago
Just tested the 20230425 build. I was able to save a project onto file and the file does exist. But when I reopened verdi and tried to open the project, nothing happens.
Retested VERDI 2.1.4 20230526 builds on Atmos, found that this issue has not resolved. No content was saved in the saved-project filename.
Retested VERDI 2.1.4 20230831 builds on Atmos, found that this issue has resolved. Now "Save Project" and "Save Project As" work as described in the user manual.
Step 1: load the saved project into VERDI Step 2: check if the dataset was saved and loaded (Yes) Step 3: check if the formula was saved and loaded (Yes)
The VERDI 2.1.4 20230911 build seems reversed earlier fix for this problem. The project is saved, but when re-open it, nothing happens, no contents.
In fact, the "Save Project As" function doesn't work either with the 20230911 build with the following error message:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class com.thoughtworks.xstream.converters.collectionseeMapConverter
at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:807)
at com.thoughtworks.xstream.XStream.
The issue was resolved. It now successfully saves and opens project as expected.
Retested VERDI 2.1.4 20230911 and 20230924 builds on Atmos, confirmed that this issue has resolved.
Retested VERDI 20231012 builds on Atmos, confirmed that this issue has resolved.
Checked VERDI_2.1.5_linux64_20231222.tar.gz on Atmos and it worked.
Testing using VERDI_2.1.5_mac_20240103.tar.gz
using command line option: fails to recognize -project
./verdi.command -project "~/test_project" 2024.01.04 18:20:36.350 [main] ERROR anl.verdi.commandline.ScriptHandler - -project is not a valid command. Skipping this command...
But the verdi.sh -help command documentation says it is:
./verdi.command -help
[ -project "
Using the VERDI GUI - I was able to load the project and verify that the dataset and the variable was loaded.
Checked VERDI_2.1.5_linux64_20240103.tar.gz on Atmos with command line, got the same error as below:
Additional re-test also done on VERDI_2.1.4_linux64_20231013.tar.gz (before Java update) on Atmos with command line, got the same error as below:
Verified by creating a new saved project that saved the filename and variable O3
cat ~/o3_CCTM46_save_project
Output
<project>
<datasetElements>
<dataset.element>
<timeMin>0</timeMin>
<timeMax>24</timeMax>
<layerMin>0</layerMin>
<layerMax>2</layerMax>
<timeUsed>false</timeUsed>
<layerUsed>false</layerUsed>
<datasetURL>file:/Users/lizadams/Downloads/VERDI_2.1.5_01_24/plugins/bootstrap/../../data/model/CCTM46_P16.baseO2a.36k.O3MAX</datasetURL>
<alias>[1]</alias>
<urlIndex>1</urlIndex>
</dataset.element>
</datasetElements>
<formulaElements>
<formula.element>
<timeMin>0</timeMin>
<timeMax>24</timeMax>
<layerMin>-1</layerMin>
<layerMax>0</layerMax>
<timeUsed>false</timeUsed>
<layerUsed>false</layerUsed>
<formula>O3[1]</formula>
</formula.element>
</formulaElements>
Note, that the project file contains the path to the file and filename, and the formula name.
Verified that you could load the project and find the filename and formula name in the gui after loading.
Using VERDI_2.1.5_mac_20240124.tar.gz
[vcredadmins-MacBook-Pro:~/downloads/VERDI_2.1.5_01_24] lizadams%
cd /Users/lizadams/downloads/VERDI_2.1.5_01_24
./verdi.command -project ~/o3_CCTM46_save_project
This was successful. It loaded the project.
Checked VERDI_2.1.5_linux64_20240124.tar.gz on Atmos and confirmed that the command line issue has resolved.
Describe the bug On Linux machine, I have a few opened datasets and several formulas and want to save it as a project for later work. When I clicked File -> Save Project As, a pop-up window opened, and a directory and project name was given, then clicked Save. But when came back to the directory, the saved project file was not there. Neither I tried to open the project that was saved from the directory from VERDI GUI: File -> Open Project
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.