Introduction
Data products from the Soil Moisture Active Passive (SMAP) mission contain many layers. Different layers are interesting for different tasks. This post describes how to capture SMAP products and define which layers to retrieve in the postgres database of Karttur’s GeoImagine Framework. The next post covers how to use postgres SQL for changing the retrieval status of individual layers.
Prerequisites
You must have the complete SPIDE installed as described in the post Install and setup spatial data IDE. You must have setup Karttur’s GeoImagine Framework, either by importing or by copying (drag and drop). The Framework postgres database must be setup and the processes defined.
Get the layers
The layers included in each SMAP product are summarised on the Earthdata pages of the National Snow and Ice Data Center (NSIDC). The description of the layers, however, is much better in the downloadable .hdf files. To insert the layers in the database semi-automatically you need one (1) downloaded fie representing the product you want register. Further, the downloaded file must be saved in the predefined hierarchical structure of the Framework. This will assure that layers exploded from the .hdf are saved under the correct path. The easiest way to achieve this is to download SMAP products with the Framework itself, as described in the previous post. You can also download a single product file manually from NSIDC and create the correct path manually.
With a .hdf file representing the SMAP prodict you want to register in the SMAP.template table in place, open a terminal window. The newly opened window should have your home directory as working directory (you can try that by typing $ pwd at the prompt.)
Do not change the directory, but let the terminal operate from your home directory. Then use gdalinfo to get the information on the product file. You have to give the full path to the file, but that will also preserve the full path in the report from gdalinfo:
$ gdalinfo /Volumes/Pegasus6/SMAP/SPL3SMP-E.002/region/original/global/20150331/SMAP_L3_SM_P_E_20150331_R16010_001.h
gdalinfo returns a very long report (several thousand of lines). Just copy the result to an empty plain text editor, and save it as a .txt file.
Open the stand alone module definetemplate.py under the geoimagine.smap package. Glue the full path to the .txt file you just saved as follows:
srcFPN = ['/Users/thomasgumbricht/Dropbox/projects/geoimagine/USERS/karttur/SMAP/gdalinfo-excerpts/SPL3SMP-E.txt',4310]
and run the module.
The module will generate an xml coded database entry in your Python IDE. This entry has to be manually copied and pasted to the template definition (default name = ‘SMAP_template_v80_sql.xml’), as shown under Hide/Show.
<process processid ='tableinsert'>
<parameters db = 'karttur' schema = 'smap' table = 'template'></parameters>
<overwrite>N</overwrite>
<delete>N</delete>
<command>
<columns>source,product,folder,prefix,suffix,fileext,region,compid,hdfgrid,hdffolder,scalefac,offsetadd,title,label,band,retrieve,measure,cellnull,celltype,dataunit,epsg</columns>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','EASE-column-index','002','tif','global','soil-moisture-am_ease-column-index','EASE_column_index','Soil_Moisture_Retrieval_Data_AM','1','0','EASE column index','The column index of the 9 km EASE grid cell that contains the associated data.','EASE-column-index','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','EASE-row-index','002','tif','global','soil-moisture-am_ease-row-index','EASE_row_index','Soil_Moisture_Retrieval_Data_AM','1','0','EASE row index','The row index of the 9 km EASE grid cell that contains the associated data.','EASE-row-index','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','albedo','002','tif','global','soil-moisture-am_albedo','albedo','Soil_Moisture_Retrieval_Data_AM','1','0','albedo','Diffuse reflecting power of the Earths surface within the grid cell.','albedo','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','boresight-incidence','002','tif','global','soil-moisture-am_boresight-incidence','boresight_incidence','Soil_Moisture_Retrieval_Data_AM','1','0','boresight incidence','Representative angle between the antenna boresight vector and the normal to the Earths surface for all footprints within the cell.','boresight-incidence','N','R','-9999','FLOAT32','degrees','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','freeze-thaw-fraction','002','tif','global','soil-moisture-am_freeze-thaw-fraction','freeze_thaw_fraction','Soil_Moisture_Retrieval_Data_AM','1','0','freeze thaw fraction','Fraction of the 9 km grid cell that is denoted as frozen. Based on binary flag that specifies freeze thaw conditions in each of the component 3 km grid cells.','freeze-thaw-fraction','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','grid-surface-status','002','tif','global','soil-moisture-am_grid-surface-status','grid_surface_status','Soil_Moisture_Retrieval_Data_AM','1','0','grid surface status','Indicates if the grid point lies on land (0) or water (1).','grid-surface-status','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','latitude','002','tif','global','soil-moisture-am_latitude','latitude','Soil_Moisture_Retrieval_Data_AM','1','0','latitude','Latitude of the center of the Earth based grid cell.','latitude','N','R','-9999','FLOAT32','degrees_north','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','latitude-centroid','002','tif','global','soil-moisture-am_latitude-centroid','latitude_centroid','Soil_Moisture_Retrieval_Data_AM','1','0','latitude centroid','Weighted average of the latitude of the center of the brightness temperature footprints that fall within the EASE grid cell.','latitude-centroid','N','R','-9999','FLOAT32','degrees','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','longitude','002','tif','global','soil-moisture-am_longitude','longitude','Soil_Moisture_Retrieval_Data_AM','1','0','longitude','Longitude of the center of the Earth based grid cell.','longitude','N','R','-9999','FLOAT32','degrees_east','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','longitude-centroid','002','tif','global','soil-moisture-am_longitude-centroid','longitude_centroid','Soil_Moisture_Retrieval_Data_AM','1','0','longitude centroid','Weighted average of the longitude of the center of the brightness temperature footprints that fall within the EASE grid cell.','longitude-centroid','N','R','-9999','FLOAT32','degrees','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','radar-water-body-fraction','002','tif','global','soil-moisture-am_radar-water-body-fraction','radar_water_body_fraction','Soil_Moisture_Retrieval_Data_AM','1','0','radar water body fraction','The fraction of the area of the 9 km grid cell that is covered by water based on the radar detection algorithm.','radar-water-body-fraction','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','retrieval-qual-flag','002','tif','global','soil-moisture-am_retrieval-qual-flag','retrieval_qual_flag','Soil_Moisture_Retrieval_Data_AM','1','0','retrieval qual flag','Bit flags that record the conditions and the quality of the retrieval algorithms that generate soil moisture for the grid cell.','retrieval-qual-flag','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','roughness-coefficient','002','tif','global','soil-moisture-am_roughness-coefficient','roughness_coefficient','Soil_Moisture_Retrieval_Data_AM','1','0','roughness coefficient','A unitless value that is indicative of bare soil roughness within the 9 km grid cell.','roughness-coefficient','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','soil-moisture-am','002','tif','global','soil-moisture-am_soil-moisture-am','soil_moisture','Soil_Moisture_Retrieval_Data_AM','1','0','soil moisture','Representative soil moisture measurement for the Earth based grid cell.','soil-moisture-am','Y','R','-9999','FLOAT32','cm**3/cm**3','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','soil-moisture-error','002','tif','global','soil-moisture-am_soil-moisture-error','soil_moisture_error','Soil_Moisture_Retrieval_Data_AM','1','0','soil moisture error','Net uncertainty measure of soil moisture measure for the Earth based grid cell. - Calculation method is TBD.','soil-moisture-error','N','R','-9999','FLOAT32','cm**3/cm**3','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','static-water-body-fraction','002','tif','global','soil-moisture-am_static-water-body-fraction','static_water_body_fraction','Soil_Moisture_Retrieval_Data_AM','1','0','static water body fraction','The fraction of the area of the 9 km grid cell that is covered by static water based on a Digital Elevation Map.','static-water-body-fraction','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','surface-flag','002','tif','global','soil-moisture-am_surface-flag','surface_flag','Soil_Moisture_Retrieval_Data_AM','1','0','surface flag','Bit flags that record ambient surface conditions for the grid cell','surface-flag','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','surface-temperature','002','tif','global','soil-moisture-am_surface-temperature','surface_temperature','Soil_Moisture_Retrieval_Data_AM','1','0','surface temperature','Temperature at land surface based on GMAO GEOS-5 data.','surface-temperature','N','R','-9999','FLOAT32','Kelvins','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','surface-water-fraction-mb-h','002','tif','global','soil-moisture-am_surface-water-fraction-mb-h','surface_water_fraction_mb_h','Soil_Moisture_Retrieval_Data_AM','1','0','surface water fraction mb h','Gain weighted fraction of static water within the radiometer horizontal polarization brightness temperature antenna pattern in 36 km Earth grid cell.','surface-water-fraction-mb-h','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','surface-water-fraction-mb-v','002','tif','global','soil-moisture-am_surface-water-fraction-mb-v','surface_water_fraction_mb_v','Soil_Moisture_Retrieval_Data_AM','1','0','surface water fraction mb v','Gain weighted fraction of static water within the radiometer vertical polarization brightness temperature antenna pattern in 36 km Earth grid cell.','surface-water-fraction-mb-v','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-3-corrected','002','tif','global','soil-moisture-am_tb-3-corrected','tb_3_corrected','Soil_Moisture_Retrieval_Data_AM','1','0','tb 3 corrected','Third stokes parameter for each 9 km grid cell calculated with an adjustment for the presence of water bodies','tb-3-corrected','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-4-corrected','002','tif','global','soil-moisture-am_tb-4-corrected','tb_4_corrected','Soil_Moisture_Retrieval_Data_AM','1','0','tb 4 corrected','Fourth stokes parameter for each 9 km grid cell calculated with an adjustment for the presence of water bodies','tb-4-corrected','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-h-corrected','002','tif','global','soil-moisture-am_tb-h-corrected','tb_h_corrected','Soil_Moisture_Retrieval_Data_AM','1','0','tb h corrected','Horizontal polarization brightness temperature in 9 km Earth grid cell adjusted for the presence of water bodies.','tb-h-corrected','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-h-uncorrected','002','tif','global','soil-moisture-am_tb-h-uncorrected','tb_h_uncorrected','Soil_Moisture_Retrieval_Data_AM','1','0','tb h uncorrected','Horizontal polarization brightness temperature in 36 km Earth grid cell before adjustment for the presence of water bodies.','tb-h-uncorrected','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-qual-flag-3','002','tif','global','soil-moisture-am_tb-qual-flag-3','tb_qual_flag_3','Soil_Moisture_Retrieval_Data_AM','1','0','tb qual flag 3','Bit flags that represent the quality of the 3rd Stokes brightness temperature within each grid cell','tb-qual-flag-3','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-qual-flag-4','002','tif','global','soil-moisture-am_tb-qual-flag-4','tb_qual_flag_4','Soil_Moisture_Retrieval_Data_AM','1','0','tb qual flag 4','Bit flags that represent the quality of the 4th Stokes brightness temperature within each grid cell','tb-qual-flag-4','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-qual-flag-h','002','tif','global','soil-moisture-am_tb-qual-flag-h','tb_qual_flag_h','Soil_Moisture_Retrieval_Data_AM','1','0','tb qual flag h','Bit flags that represent the quality of the horizontal polarization brightness temperature within each grid cell','tb-qual-flag-h','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-qual-flag-v','002','tif','global','soil-moisture-am_tb-qual-flag-v','tb_qual_flag_v','Soil_Moisture_Retrieval_Data_AM','1','0','tb qual flag v','Bit flags that represent the quality of the vertical polarization brightness temperature within each grid cell','tb-qual-flag-v','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-time-seconds','002','tif','global','soil-moisture-am_tb-time-seconds','tb_time_seconds','Soil_Moisture_Retrieval_Data_AM','1','0','tb time seconds','Arithmetic average of the acquisition time of all of the brightness temperature footprints with a center that falls within the EASE grid cell in seconds since noon on January 1 2000 UTC.','tb-time-seconds','N','R','-9999','FLOAT64','seconds','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-v-corrected','002','tif','global','soil-moisture-am_tb-v-corrected','tb_v_corrected','Soil_Moisture_Retrieval_Data_AM','1','0','tb v corrected','Vertical polarization brightness temperature in 9 km Earth grid cell adjusted for the presence of water bodies.','tb-v-corrected','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','tb-v-uncorrected','002','tif','global','soil-moisture-am_tb-v-uncorrected','tb_v_uncorrected','Soil_Moisture_Retrieval_Data_AM','1','0','tb v uncorrected','Vertical polarization brightness temperature in 36 km Earth grid cell before adjustment for the presence of water bodies.','tb-v-uncorrected','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','vegetation-opacity','002','tif','global','soil-moisture-am_vegetation-opacity','vegetation_opacity','Soil_Moisture_Retrieval_Data_AM','1','0','vegetation opacity','The measured opacity of the vegetation in the grid cell.','vegetation-opacity','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-am','vegetation-water-content','002','tif','global','soil-moisture-am_vegetation-water-content','vegetation_water_content','Soil_Moisture_Retrieval_Data_AM','1','0','vegetation water content','Representative measure of water in the vegetation within the 9 km grid cell.','vegetation-water-content','N','R','-9999','FLOAT32','kg/m**2','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','EASE-column-index-pm','002','tif','global','soil-moisture-pm_ease-column-index-pm','EASE_column_index_pm','Soil_Moisture_Retrieval_Data_PM','1','0','EASE column index pm','The column index of the 9 km EASE grid cell that contains the associated data.','EASE-column-index-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','EASE-row-index-pm','002','tif','global','soil-moisture-pm_ease-row-index-pm','EASE_row_index_pm','Soil_Moisture_Retrieval_Data_PM','1','0','EASE row index pm','The row index of the 9 km EASE grid cell that contains the associated data.','EASE-row-index-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','albedo-pm','002','tif','global','soil-moisture-pm_albedo-pm','albedo_pm','Soil_Moisture_Retrieval_Data_PM','1','0','albedo pm','Diffuse reflecting power of the Earths surface within the grid cell.','albedo-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','boresight-incidence-pm','002','tif','global','soil-moisture-pm_boresight-incidence-pm','boresight_incidence_pm','Soil_Moisture_Retrieval_Data_PM','1','0','boresight incidence pm','Representative angle between the antenna boresight vector and the normal to the Earths surface for all footprints within the cell.','boresight-incidence-pm','N','R','-9999','FLOAT32','degrees','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','freeze-thaw-fraction-pm','002','tif','global','soil-moisture-pm_freeze-thaw-fraction-pm','freeze_thaw_fraction_pm','Soil_Moisture_Retrieval_Data_PM','1','0','freeze thaw fraction pm','Fraction of the 9 km grid cell that is denoted as frozen. Based on binary flag that specifies freeze thaw conditions in each of the component 3 km grid cells.','freeze-thaw-fraction-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','grid-surface-status-pm','002','tif','global','soil-moisture-pm_grid-surface-status-pm','grid_surface_status_pm','Soil_Moisture_Retrieval_Data_PM','1','0','grid surface status pm','Indicates if the grid point lies on land (0) or water (1).','grid-surface-status-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','latitude-centroid-pm','002','tif','global','soil-moisture-pm_latitude-centroid-pm','latitude_centroid_pm','Soil_Moisture_Retrieval_Data_PM','1','0','latitude centroid pm','Weighted average of the latitude of the center of the brightness temperature footprints that fall within the EASE grid cell.','latitude-centroid-pm','N','R','-9999','FLOAT32','degrees','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','latitude-pm','002','tif','global','soil-moisture-pm_latitude-pm','latitude_pm','Soil_Moisture_Retrieval_Data_PM','1','0','latitude pm','Latitude of the center of the Earth based grid cell.','latitude-pm','N','R','-9999','FLOAT32','degrees_north','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','longitude-centroid-pm','002','tif','global','soil-moisture-pm_longitude-centroid-pm','longitude_centroid_pm','Soil_Moisture_Retrieval_Data_PM','1','0','longitude centroid pm','Weighted average of the longitude of the center of the brightness temperature footprints that fall within the EASE grid cell.','longitude-centroid-pm','N','R','-9999','FLOAT32','degrees','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','longitude-pm','002','tif','global','soil-moisture-pm_longitude-pm','longitude_pm','Soil_Moisture_Retrieval_Data_PM','1','0','longitude pm','Longitude of the center of the Earth based grid cell.','longitude-pm','N','R','-9999','FLOAT32','degrees_east','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','radar-water-body-fraction-pm','002','tif','global','soil-moisture-pm_radar-water-body-fraction-pm','radar_water_body_fraction_pm','Soil_Moisture_Retrieval_Data_PM','1','0','radar water body fraction pm','The fraction of the area of the 9 km grid cell that is covered by water based on the radar detection algorithm.','radar-water-body-fraction-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','retrieval-qual-flag-pm','002','tif','global','soil-moisture-pm_retrieval-qual-flag-pm','retrieval_qual_flag_pm','Soil_Moisture_Retrieval_Data_PM','1','0','retrieval qual flag pm','Bit flags that record the conditions and the quality of the retrieval algorithms that generate soil moisture for the grid cell.','retrieval-qual-flag-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','roughness-coefficient-pm','002','tif','global','soil-moisture-pm_roughness-coefficient-pm','roughness_coefficient_pm','Soil_Moisture_Retrieval_Data_PM','1','0','roughness coefficient pm','A unitless value that is indicative of bare soil roughness within the 9 km grid cell.','roughness-coefficient-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','soil-moisture-error-pm','002','tif','global','soil-moisture-pm_soil-moisture-error-pm','soil_moisture_error_pm','Soil_Moisture_Retrieval_Data_PM','1','0','soil moisture error pm','Net uncertainty measure of soil moisture measure for the Earth based grid cell. - Calculation method is TBD.','soil-moisture-error-pm','N','R','-9999','FLOAT32','cm**3/cm**3','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','soil-moisture-pm','002','tif','global','soil-moisture-pm_soil-moisture-pm','soil_moisture_pm','Soil_Moisture_Retrieval_Data_PM','1','0','soil moisture pm','Representative soil moisture measurement for the Earth based grid cell.','soil-moisture-pm','Y','R','-9999','FLOAT32','cm**3/cm**3','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','static-water-body-fraction-pm','002','tif','global','soil-moisture-pm_static-water-body-fraction-pm','static_water_body_fraction_pm','Soil_Moisture_Retrieval_Data_PM','1','0','static water body fraction pm','The fraction of the area of the 9 km grid cell that is covered by static water based on a Digital Elevation Map.','static-water-body-fraction-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','surface-flag-pm','002','tif','global','soil-moisture-pm_surface-flag-pm','surface_flag_pm','Soil_Moisture_Retrieval_Data_PM','1','0','surface flag pm','Bit flags that record ambient surface conditions for the grid cell','surface-flag-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','surface-temperature-pm','002','tif','global','soil-moisture-pm_surface-temperature-pm','surface_temperature_pm','Soil_Moisture_Retrieval_Data_PM','1','0','surface temperature pm','Temperature at land surface based on GMAO GEOS-5 data.','surface-temperature-pm','N','R','-9999','FLOAT32','Kelvins','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','surface-water-fraction-mb-h-pm','002','tif','global','soil-moisture-pm_surface-water-fraction-mb-h-pm','surface_water_fraction_mb_h_pm','Soil_Moisture_Retrieval_Data_PM','1','0','surface water fraction mb h pm','Gain weighted fraction of static water within the radiometer horizontal polarization brightness temperature antenna pattern in 36 km Earth grid cell.','surface-water-fraction-mb-h-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','surface-water-fraction-mb-v-pm','002','tif','global','soil-moisture-pm_surface-water-fraction-mb-v-pm','surface_water_fraction_mb_v_pm','Soil_Moisture_Retrieval_Data_PM','1','0','surface water fraction mb v pm','Gain weighted fraction of static water within the radiometer vertical polarization brightness temperature antenna pattern in 36 km Earth grid cell.','surface-water-fraction-mb-v-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-3-corrected-pm','002','tif','global','soil-moisture-pm_tb-3-corrected-pm','tb_3_corrected_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb 3 corrected pm','Third stokes parameter for each 9 km grid cell calculated with an adjustment for the presence of water bodies','tb-3-corrected-pm','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-4-corrected-pm','002','tif','global','soil-moisture-pm_tb-4-corrected-pm','tb_4_corrected_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb 4 corrected pm','Fourth stokes parameter for each 9 km grid cell calculated with an adjustment for the presence of water bodies','tb-4-corrected-pm','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-h-corrected-pm','002','tif','global','soil-moisture-pm_tb-h-corrected-pm','tb_h_corrected_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb h corrected pm','Horizontal polarization brightness temperature in 9 km Earth grid cell adjusted for the presence of water bodies.','tb-h-corrected-pm','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-h-uncorrected-pm','002','tif','global','soil-moisture-pm_tb-h-uncorrected-pm','tb_h_uncorrected_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb h uncorrected pm','Horizontal polarization brightness temperature in 36 km Earth grid cell before adjustment for the presence of water bodies.','tb-h-uncorrected-pm','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-qual-flag-3-pm','002','tif','global','soil-moisture-pm_tb-qual-flag-3-pm','tb_qual_flag_3_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb qual flag 3 pm','Bit flags that represent the quality of the 3rd Stokes brightness temperature within each grid cell','tb-qual-flag-3-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-qual-flag-4-pm','002','tif','global','soil-moisture-pm_tb-qual-flag-4-pm','tb_qual_flag_4_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb qual flag 4 pm','Bit flags that represent the quality of the 4th Stokes brightness temperature within each grid cell','tb-qual-flag-4-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-qual-flag-h-pm','002','tif','global','soil-moisture-pm_tb-qual-flag-h-pm','tb_qual_flag_h_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb qual flag h pm','Bit flags that represent the quality of the horizontal polarization brightness temperature within each grid cell','tb-qual-flag-h-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-qual-flag-v-pm','002','tif','global','soil-moisture-pm_tb-qual-flag-v-pm','tb_qual_flag_v_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb qual flag v pm','Bit flags that represent the quality of the vertical polarization brightness temperature within each grid cell','tb-qual-flag-v-pm','N','R','65534','UINT16','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-time-seconds-pm','002','tif','global','soil-moisture-pm_tb-time-seconds-pm','tb_time_seconds_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb time seconds pm','Arithmetic average of the acquisition time of all of the brightness temperature footprints with a center that falls within the EASE grid cell in seconds since noon on January 1 2000 UTC.','tb-time-seconds-pm','N','R','-9999','FLOAT64','seconds','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-v-corrected-pm','002','tif','global','soil-moisture-pm_tb-v-corrected-pm','tb_v_corrected_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb v corrected pm','Vertical polarization brightness temperature in 9 km Earth grid cell adjusted for the presence of water bodies.','tb-v-corrected-pm','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','tb-v-uncorrected-pm','002','tif','global','soil-moisture-pm_tb-v-uncorrected-pm','tb_v_uncorrected_pm','Soil_Moisture_Retrieval_Data_PM','1','0','tb v uncorrected pm','Vertical polarization brightness temperature in 36 km Earth grid cell before adjustment for the presence of water bodies.','tb-v-uncorrected-pm','N','R','-9999','FLOAT32','Kelvin','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','vegetation-opacity-pm','002','tif','global','soil-moisture-pm_vegetation-opacity-pm','vegetation_opacity_pm','Soil_Moisture_Retrieval_Data_PM','1','0','vegetation opacity pm','The measured opacity of the vegetation in the grid cell.','vegetation-opacity-pm','N','R','-9999','FLOAT32','index','4310'</values>
<values>'SPL3SMP-E.002','SPL3SMP-E','soil-moisture-pm','vegetation-water-content-pm','002','tif','global','soil-moisture-pm_vegetation-water-content-pm','vegetation_water_content_pm','Soil_Moisture_Retrieval_Data_PM','1','0','vegetation water content pm','Representative measure of water in the vegetation within the 9 km grid cell.','vegetation-water-content-pm','N','R','-9999','FLOAT32','kg/m**2','4310'</values>
</command>
</process>
Run the Framework command for adding the rows to the table smap.templates.
You have to manually set the layers you want the system to download. Either by editing directly in the xml code (above) or using SQL as outlined in the next post.