Last modified: Mon, 06/19/2017 - 10:58
  
    
  Appendix A
EXPNDI_BY_Z_COUNTS(dat, counts, max_profile_len)
Expands arg1 on I into an XZ grid. (To split Z-profiles). 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 | |
| MAXLEN | The maximum count or rowsize for any feature | |
| Result Axes: | X | Abstract: Length is the number of profiles | 
| Y | inherited from arg 1 | |
| Z | Abstract: length given by argument 3 | |
| T | inherited from arg 1 | |
| E | inherited from arg 1 | |
| F | inherited from arg 1 | 
Example:
yes? let var = {11,12,13,-2,-1,-2,-1,3,4}
yes? let rowsize = {3,4,2}
yes? list expndi_by_z_counts(var, rowsize, `rowsize[i=@max]`)
 !-> list expndi_by_z_counts(var, rowsize, 4)
 VARIABLE : EXPNDI_BY_Z_COUNTS(VAR, ROWSIZE, 4)
 SUBSET : 3 by 4 points (X-Z)
 1 2 3 
 1 2 3
 1 / 1: 11.00 -2.00 3.00
 2 / 2: 12.00 -1.00 4.00
 3 / 3: 13.00 -2.00 ....
 4 / 4: .... -1.00 ....



 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