How to update from 2014 to 2015 safely

The structure of the datafile in GREET 2015 has been modified in order to allow more features and flexibility. For example placeholder for infrastructure expansion are there, and most of the parameters have been converted to time series. The vehicles have also been modified heavily in order to allow for more flexibility.

Step by step guide for updading your existing file

In this guide, we will assume that your saved your changes in a data file called my2014data.greet, we will update this file to the new format and merge the updates of the 2015 release into it.

After installing the new GREET 2015 software, you'll be able to observe the following behavior:

  • If the folder Documents/Greet/Data contains a file called default.greet, it'll be automatically loaded. Otherwise the software will download the latest datafile and call it default.greet
  • If the file you're loading is from an older version of the software, loading will take more time as we are converting the file format to the newer format

Data folder after GREET 2015 installation In this example, after installing GREET 2015, I now have two files in my data folder:

  • default.greet: The most updated file automatically downloaded by GREET 2015
  • my2014data.greet: My older file which contains my changes but not the latest updates

In order to update my older file with all the updates of the 2015 version of the database, I need to load the file in GREET 2015, wait for it to be converted to the newer format, and then update it using the data merging tool.

Opening the older file in order to update it

After loading the older file, you may see a "Database Information" message, letting you know that there is an error in the file. This is due to an error we had in the previous version of the datafile. Upon loading a file in GREET 2015, more detailled integrity checks are performed on the database, thus resulting in that message. You can click the "OK" button and ignore it for now, as updating your file will fix that data error.

Data file upgraded format You can also see that in your data folder you'll have now one more file and folder:

  • my2015data-Upgradedv4.greet is the result of upgrading your datafile to the latest file format used by greet. We're keeping the .greet extension, but the inner content is now updated to our latest format.
  • Temp is a folder that contains a copy of your original file before we performed the conversion, this is done in case something happens and you still want to keep your original files intact.

Now that your file is loaded in GREET 2015, you can click on the "Database" menu then click on the item "Check for data updates". The software will query our servers to know if a newer version of the file is available for download. If it is, it will then offer you to download it, and later to merge the update and your data.

Data file upgraded format

When prompted by the merging tool about merging the update with your file, click "Yes", a new window will show you the files that are opened and the difference detected between the two files.
Data file upgraded format What the tool will do is compare all items that have the same ID, detect which ones have been udpated, which ones have been discarded and what are the new additions. You can decide to check one by one what are the changes by selecting the option "Manually select what to import", but for an update like this one, it'll probably be a lot to check! I would suggest here that you select "Import all new and updated entities to File 1" then click the "Next" button.

Data file upgraded format

When you file is merged you'll be able to enjoy the new updates of the database, but at the same time keep your newly added processes and pathway.

CAUTION: We compare processes using their IDs only, so if you made modifications to a process, and it has been updated in the newer file, your changes are going to be lost. However if you created new instances of processes and pathways, they will not be destroyed or overriden, we'll simply update the ones that were released by the GREET team.