Skip to content

Get Parameters from NetCDF Exported from EE

Once the model has output, we can export the model output to NetCDF files. How to export to NetCDF files has been introduced in Export to NetCDF files. Get parameters from NetCDF exported from EE#Figure 1 shows a form of exporting to NetCDF files.

This tutorial will provide information on the main parameters extracted from NetCDF files using Python script.

Get parameters from NetCDF exported from EE#Table 1 shows the information on parameters obtained from the NetCDF files.

Figure 1. Export to NetCDF files from EFDC+ Explorer.

Parameters
I index of the model cells
Variable name col
Long name cell column index
J index of the model cells
Variable name row
Long name cell row index
Bottom elevation
Variable name BELV
Unit m
Dimensions (time, CELL)
time is the Julian time since the base date of the model.
CELL is the cell index.
Water Surface Elevation
Variable name WSEL
Unit m
Dimensions (time, CELL)
Cohesive grain size shear stress
Variable name cohesive_shear
Unit N/m2
Dimensions (time, CELL)
Sediment bed top layer index
Variable name bed_top
Unit layer
Dimensions (time, CELL)
Bed sediment thickness
Variable name bed_thickness
Unit m
Dimensions (time, CELL, KB)
Sediment bed wet density
Variable name bed_wet_density
Unit kg/m3
Dimensions (time, CELL, KB)
Bed sediment porosity
Variable name bed_porosity
Unit -
Dimensions (time, CELL, KB)
Cohesive sediment
Variable name cohesive_sediment
Unit mg/L
Dimensions (time, NSED2, CELL, KC)
Non-cohesive sediment
Variable name noncohesive_sediment
Unit mg/L
Dimensions (time, NSND, CELL, KC)
Bed mass cohesive (Top Layer)
Variable name bed_top_mass_cohesive
Unit g/m2
Dimensions (time, NSED, CELL)
Bed mass non-cohesive (Top Layer)
Variable name bed_top_mass_noncohesive
Unit g/m2
Dimensions (time, NSND, CELL)
Sediment mass
Variable name bed_mass
Unit g/m2
Dimensions (time, NSXD, CELL, KB)
Sediment mass fraction
Variable name bed_mass_fraction
Unit -
Dimensions (time, NSXD, CELL, KB)
Average particle size of bed surface
Variable name bed_d50
Unit microns
Dimensions (time, CELL)
Water temperature
Variable name temperature
Unit degC
Dimensions (time, CELL, KC)
Dye
Variable name dye
Unit mg/L
Dimensions (time, NDYE, CELL, KC)
Refractory particulate organic carbon
Variable name RPOC
Unit mg/L
Dimensions (time, CELL, KC)
Labile particulate organic carbon
Variable name LPOC
Unit mg/L
Dimensions (time, CELL, KC)
Dissolved organic carbon
Variable name DOC
Unit mg/L
Dimensions (time, CELL, KC)
Refractory particulate organic phosphorus
Variable name RPOP
Unit mg/L
Dimensions (time, CELL, KC)
Labile particulate organic phosphorus
Variable name LPOP
Unit mg/L
Dimensions (time, CELL, KC)
Dissolved organic phosphorus
Variable name DOP
Unit mg/L
Dimensions (time, CELL, KC)
Total phosphate
Variable name P4D
Unit mg/L
Dimensions (time, CELL, KC)
Refractory particulate organic nitrogen
Variable name RPON
Unit mg/L
Dimensions (time, CELL, KC)
Labile particulate organic nitrogen
Variable name LPON
Unit mg/L
Dimensions (time, CELL, KC)
Dissolved organic nitrogen
Variable name DON
Unit mg/L
Dimensions (time, CELL, KC)
Ammonia nitrogen
Variable name NHX
Unit mg/L
Dimensions (time, CELL, KC)
Nitrate nitrogen
Variable name NOX
Unit mg/L
Dimensions (time, CELL, KC)
Particulate biogenic silica
Variable name SUU
Unit mg/L
Dimensions (time, CELL, KC)
Available dissolved silica
Variable name SAA
Unit mg/L
Dimensions (time, CELL, KC)
Chemical oxygen demand
Variable name COD
Unit mg/L
Dimensions (time, CELL, KC)
Dissolved oxygen
Variable name DOX
Unit mg/L
Dimensions (time, CELL, KC)
Total active metal
Variable name TAM
Unit mg/L
Dimensions (time, CELL, KC)
Fecal coliform bacteria
Variable name FCB
Unit MPN/100ml
Dimensions (time, CELL, KC)
Phytoplankton
Variable name ALG
Unit mgC/L
Dimensions (time, NALG, CELL, KC)
Total erosion rate in the cell
Variable name bed_erosion_rate
Unit g/cm2/s
Dimensions (time, CELL)
Total deposition rate in the cell
Variable name bed_deposition_rate
Unit g/cm2/s
Dimensions (time, CELL)
Bed toxics
Variable name bed_toxics
Unit mg/kg
Dimensions (time, NTOX, CELL, KB)

Table 1. Export to NetCDF files from EFDC+ Explorer.