All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lrgs.drgsrecv.PdtSchedTest Maven / Gradle / Ivy

Go to download

A collection of software for aggregatting and processing environmental data such as from NOAA GOES satellites.

The newest version!

package lrgs.drgsrecv;

import java.io.File;
import java.util.Iterator;

import lrgs.common.DcpAddress;

/**
 *
 * @author mjmaloney
 * @deprecated We are using decodes.util.Pdt instead.
 */
@Deprecated
public class PdtSchedTest
{
	public static void main(String args[])
		throws Exception
	{
		PdtSched ps = new PdtSched();
		ps.load(new File(args[0]));
		for(Iterator it = ps.iterator(); it.hasNext();)
		{
			PdtSchedEntry pse = (PdtSchedEntry)it.next();
			DcpAddress da = new DcpAddress(pse.getDcpAddress());
			System.out.println(da.toString()
				+ " ST=" + pse.getStChan() + ", t=" +pse.getFirstXmit()
				+ ", i=" + pse.getXmitInterval()
				+ ", w=" + pse.getXmitWindow()
				+ ", RD=" + pse.getRdChan());
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy