Identify areas within HYCOM app that need to be switched out with CERES Image Service and processing templates.
Do the following to deploy the app on your server:
Use the Import function in Developer Edition to import the downloaded ZIP file, then customize it in the builder.
Optionally, do the following to customize the application by editing JSON files directly:
{
"uri": "widgets/Demo/Widget"
},
Services need to be changed
"urlms" : "https://landsat2.arcgis.com/arcgis/rest/services/Landsat/MS/ImageServer",
"urlLandsatPS": "https://landsat2.arcgis.com/arcgis/rest/services/Landsat/PS/ImageServer",
"urlLandsatPan" : "https://landsat2.arcgis.com/arcgis/rest/services/Landsat/Pan/ImageServer"}
"hycomUrl" : "https://utility.arcgis.com/usrsvcs/servers/dad1b980b240496a96fa0ef3d64a1634/rest/services/HYCOM/ImageServer",
postCreate: function () {
window.addEventListener("resize", lang.hitch(this, function () {
if (registry.byId("oceanCurrentsDialog").open)
var tempDialog = "oceanCurrentsDialog";
else if (registry.byId("overlayLayerDialog").open)
var tempDialog = "overlayLayerDialog";
else if (registry.byId("timeDialog") && registry.byId("timeDialog").open)
var tempDialog = "timeDialog";
else if (registry.byId("maskDialog") && registry.byId("maskDialog").open)
var tempDialog = "maskDialog";
else if (registry.byId("Add Data from ArcGIS Online") && registry.byId("Add Data from ArcGIS Online").open)
var tempDialog = "Add Data from ArcGIS Online";
else if (pm.getPanelById("_22_panel") && pm.getPanelById("_22_panel").state === "opened")
var tempDialog = "About";
if (tempDialog) {
domStyle.set(tempDialog, "left", "160px");
domStyle.set(tempDialog, "top", "100px");
var loadlayer = new ArcGISImageServiceLayer(this.config.hycomUrl,
this.hycomData is used
if ((layerInfosParam[a].title).includes("World_Ocean_Reference")){
"hycomUrl": "https://utility.arcgis.com/usrsvcs/servers/dad1b980b240496a96fa0ef3d64a1634/rest/services/HYCOM/ImageServer",
"Sea Water Temperature Celsius": "Water Temperature (Celsius)",
"Sea Surface Elevation Meters": "Sea Surface Elevation (m)",
"Sea Water Temperature Fahrenheit": "Water Temperature (Celsius)",
"Sea Surface Elevation Feet": "Sea Surface Elevation (m)",
"Eastward Sea Water Velocity (u)": "Eastward Sea Water Velocity (u)",
"Northward Sea Water Velocity (v)": "Northward Sea Water Velocity (v)",
"Sea Water Salinity": "Sea Water Salinity (PSS)",
url: this.config.hycomUrl + "/computehistograms",
"allPlaceholder": "Find a place",
"showInfoWindowOnSelect": true,
"sources": [
{
"url": "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer",
"name": "Landsat Explorer",
"description": "",
"createdTime": "",
"lastUpdated": "",
"creator": "Esri"
}
Key Insights
Ex. "hycomUrl": "https://utility.arcgis.com/usrsvcs/servers/dad1b980b240496a96fa0ef3d64a1634/rest/services/HYCOM/ImageServer