Home > atmlab > deprecated > number_sats_in_dataset.m

number_sats_in_dataset

PURPOSE ^

number_sats_in_dataset Number of satellites used to characterise dataset

SYNOPSIS ^

function n = number_sats_in_dataset(d)

DESCRIPTION ^

 number_sats_in_dataset Number of satellites used to characterise dataset

 Some datasets, such as collocations_mhs_mhs, need 2 satellites to
 characterise it; most need only one. This function gives the answer.

 FORMAT

   n = number_sats_in_dataset(d)

 IN

   d   string      dataset name

 OUT

   n   number      number of satellites to characterise

 $Id: number_sats_in_dataset.m 7553 2012-04-27 19:08:16Z gerrit $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

number_sats_in_dataset.m

SOURCE CODE ^

0001 function n = number_sats_in_dataset(d)
0002 
0003 % number_sats_in_dataset Number of satellites used to characterise dataset
0004 %
0005 % Some datasets, such as collocations_mhs_mhs, need 2 satellites to
0006 % characterise it; most need only one. This function gives the answer.
0007 %
0008 % FORMAT
0009 %
0010 %   n = number_sats_in_dataset(d)
0011 %
0012 % IN
0013 %
0014 %   d   string      dataset name
0015 %
0016 % OUT
0017 %
0018 %   n   number      number of satellites to characterise
0019 %
0020 % $Id: number_sats_in_dataset.m 7553 2012-04-27 19:08:16Z gerrit $
0021 
0022 if strfind(datasets_config([d '_filename']), '$SAT1') % needs two
0023     n = 2;
0024 else
0025     n = 1;
0026 end

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005