return"This algorithm publishes a raster file as a maps or datasets in the e-Infrastructure. NetCDF-CF files are encouraged, as WMS and WCS maps will be produced using this format. For other types of files (GeoTiffs, ASC etc.) only the raw datasets will be published. The resulting map or dataset will be accessible via the VRE GeoExplorer by the VRE participants.";
addOutputString("File name created in the e-Infrastructure",fileName);
addOutputString("Map creator",username);
}
status=100;
}
@Override
protectedvoidsetInputParameters(){
try{
addStringInput(layerTitleParam,"Title of the geospatial dataset to be shown on GeoExplorer","Generic Raster Layer");
addStringInput(layerAbstractParam,"Abstract defining the content, the references and usage policies","Abstract");
addStringInput(layerInnerNameParam,"Name of the inner layer or band to be published as a Map (ignored for non-NetCDF files)","band_1");
addStringInput(FileNameInfraParam,"Name of the file that will be created in the infrastructures","test.nc");
inputs.add(newPrimitiveType(File.class.getName(),null,PrimitiveTypes.FILE,FileParam,"Raster dataset to process"));
inputs.add(newPrimitiveTypesList(String.class.getName(),PrimitiveTypes.STRING,TopicsParam,"Topics to be attached to the published dataset. E.g. Biodiversity, D4Science, Environment, Weather",false));
addDoubleInput(ResolutionParam,"The resolution of the layer. For NetCDF file this is automatically estimated by data (leave -1)","-1d");
inputs.add(newServiceType(ServiceParameters.USERNAME,"ServiceUserName","The final user Name"));