GSoC'20 : Week-9 of Coding Period | Implemented template forms for JSON files and integrated tabbed layout with the template editors
Week 13 of GSoC'20
Pending templates
As cited in the previous blog, the templates involving WriteVariableGeotiff like peatland_output_modules.json were to be implemented in this week, and so they are, implemented in this week. peatland_output_modules.json has a completely different structure of JSON tree, so it could not be punched to the simple modules.json template implemented in the previous work.
Illustartion of peatland_output_modules.json showing the fields specific to WriteVariableGeotiff and the settings.
- The 
WriteVariableGeotiffsection contains three basic fields,enabled, order and a library. - The 
settingskey is a dynamic key consisting of multipleitemsin the form of anarray. - Each object in the 
arrayis populated in the form of multiplecards. - Each 
cardcontains basic keys likeenabled, variable_data_type etc. - The dynamic keys like 
variable_name, pools, fluxare provisioned using a drop-down list. The changes in the choice of the keys is reflected in the JSON tree(right side of the page). - There is also a provision to delete a particular card, similar to deleting an element of an array.
 
    Integration of the templates with the tabbed editor(built on Week9)
The implementation of the peatland_output_modules.json concludes the creation of templates(as of now), and I have started integrating the templates with the tabbed editor.
A preliminary glimse of the integration is shown below!
    Phase II Evaluation
The Phase II evaluation is going to conclude tonight 11:59PM and I am really thrilled for the results! May the source be with me! 😅 Fingers Crossed 🤞
This article can also be found at DIAL Hub.