Last modified: Mon, 06/19/2017 - 11:00
  
    
  Appendix A
EXPNDI_BY_M_COUNTS(dat, counts, max_profile_len)
Expands arg1 on I into an XE grid. (To split observatiosn into E rows). For instance, the counts may be the ROWSIZE variable in a Discrete Geometries dataset which represents profiles.
 
| Arguments: | DAT | Variable to expand. A 1-D list on the X axis | 
| COUNTS | The count of values in each profile or other feature type on an E axis | |
| MAXLEN | The maximum count or rowsize for any feature: I-size of the result | |
| Result Axes: | X | Abstract: Length is the number of features, length of argument 2 | 
| Y | NORMAL | |
| Z | NORMAL | |
| T | NORMAL | |
| E | Abstract: length given by argument 3 | |
| F | NORMAL | 
Example:
yes? let var = {1,2,3,4,5,6,7,8,9}
yes? let counts = esequence({1,3,5})
yes? list EXPNDI_BY_M_COUNTS(var,counts[m=1:3],5)
 VARIABLE : EXPNDI_BY_M_COUNTS(VAR,COUNTS[M=1:3],5)
 SUBSET : 5 by 3 points (X (Obs)-E (Row))
 1 2 3 4 5 
 1 2 3 4 5
 1 / 1: 1.000 .... .... .... ....
 2 / 2: 2.000 3.000 4.000 .... ....
 3 / 3: 5.000 6.000 7.000 8.000 9.000



 The U.S. government is closed. This site will not be updated; however, NOAA websites and social media channels necessary to protect lives and property will be maintained. To learn more, visit
 The U.S. government is closed. This site will not be updated; however, NOAA websites and social media channels necessary to protect lives and property will be maintained. To learn more, visit