Commit 2caca66d authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Adjusting size of images in 04_Core_Scripts.md

parent c3259987
......@@ -37,7 +37,7 @@ The parameter that needs to be specified under the `SERA_create_HDF5_metadata` s
This code creates the SERA HDF5 metadata file, which has the following structure:
![SERA_metadata_HDF5](Images/structure_hdf5_files_SERA_metadata.png)
<img src="Images/structure_hdf5_files_SERA_metadata.png" width="600">
The `Admin_Levels` sub-group contains three attributes (Res, Com, Ind), each of which is an integer. This indicates the administrative level at which the SERA model is defined for that country and occupancy type.
......@@ -141,11 +141,11 @@ The output of this code is two kinds of HDF5 files:
The structure of the SERA HDF5 cell files is the following:
![SERA_metadata_HDF5](Images/structure_hdf5_files_SERA_cells_general.png)
<img src="Images/structure_hdf5_files_SERA_cells_general.png" width="800">
One file is created for each of the three occupancy types (Res, Com, Ind) (and per `sera_disaggregation_to_consider`). Within each file there is a sub-group for each cell. Each cell is then subdivided into the administrative units associated with it, but contains as well an overall summary under "Total". The arrays contained in each of these subgroups are the following:
![SERA_metadata_HDF5](Images/structure_hdf5_files_SERA_cells_arrays.png)
<img src="Images/structure_hdf5_files_SERA_cells_arrays.png" width="600">
Each row in the three arrays corresponds to a specific building class. The string that defines the class is contained in `SERA_classes`. `SERA_vals` indicates the proportion in which each class is present in the overal building stock of the cell. The `SERA_subclasses` array, which only exists in the "Total" subgroup, specifies the proportion in which the total number of buildings of each class are present in each of the administrative units. This allows for the contents of the individual administrative units to be reconstructed just from the "Total" subgroup.
......@@ -154,11 +154,11 @@ If, when running the code, the `cell ID` and `country_admin_ID` subgroups alread
The structure of the SERA HDF5 buildings files is the following:
![SERA_metadata_HDF5](Images/structure_hdf5_files_SERA_bdg_classes_general.png)
<img src="Images/structure_hdf5_files_SERA_bdg_classes_general.png" width="600">
One file is created for each of the three occupancy types (Res, Com, Ind). Within each file there is a sub-group for each building class. The structure of the `Locations` and `Parameters` arrays within each building class is:
![SERA_metadata_HDF5](Images/structure_hdf5_files_SERA_bdg_classes_arrays.png)
<img src="Images/structure_hdf5_files_SERA_bdg_classes_arrays.png" width="400">
Each row of `Locations` makes reference to an administrative unit of a country, and corresponds to each row of `Parameters`. Each column of the latter indicate parameters of relevance for each building class.
......@@ -222,7 +222,7 @@ This script processes the OBM buildings and assigns them building structural cla
The output of this code is the OBM Buildings HDF5 Files. Each HDF5 file corresponds to one particular cell and one particular occupancy case (Res, Com, Ind, Oth). The file is not created if there are no OBM buildings for a particular cell and occupancy case. The structure of the files is:
<img src="Images/structure_hdf5_files_OBM.png" width="200">
<img src="Images/structure_hdf5_files_OBM.png" width="800">
The attributes `lon` and `lat` correspond to the centroid of the building. The `area` is the area of the footprint, retrieved from the `way_area` field of the OBM database. The occupancy string is retrieved from the `gem_occupancy` field of the OBM database.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment