Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
byte[] getTimeSeriesBytes(String clientId, String id, String taskId, Date startTime,
		Date timeZero, Date endTime, String[] parameterIds, String[] locationIds, 
                String ensembleId, int ensembleMemberIndex);

...

  • Install an OC or SA.
  • Select an available port number on which the service will be listening.
  • Configure a FewsPiServiceCofig file for the OC/SA region.

The Pi Service configuration files are located in the directory 'PiServiceConfigFiles' of the region configuration. These files link the IDs know by the client applications to FEWS data, such as TimeSeries, States, ModuleDataSets and ModuleParameterSets.
A Pi Service file has five sections:
1.

Example code

Appendix

FewsPiService API

...