Skip to main content
  • Home
  • Documentation
  • FAQ
  • Downloads
  • Support
  • Current Release Notes
  • Ferret Users Guide
    • Users Guide Index
    • Commands Reference
    • 1. Introduction
    • 2. Data Set Basics
    • 3. Variables & Expressions
    • 4. Grids & Regions
    • 5. Animations & Gif Images
    • 6. Customizing Plots
    • 7. Handling String Data Symbols
    • 8. Working with Special Data Sets
    • 9. Computing Environment
    • 10. Converting to NetCDF
    • 11. Writing External Functions
    • Glossary
    • Appendix A: Functions
    • Appendix B: PPLUS Guide
    • Appendix C: Ferret-Specific PPLUS Enhancements
  • Previous Release Notes
  • Tutorials and Demos
    • Ferret Tour
    • DSG files: Discrete Sampling Geometries Demo
    • Ferret sorting demo
    • Fast Fourier Transforms demo
    • Empirical Orthogonal Functions demo
    • Ferret objective analysis demo
    • Ferret Palette Demo
    • Map projections
    • Ferret polygon vector demo
    • Ferret Graticules demo
    • Ferret Polytube Demo
    • Ferret Polymark Demo
    • Ferret Constant-Array demo
    • Ferret land_detail demo
    • COADS Tour
    • Levitus Tour
    • Use OPeNDAP
    • Ferret binary read demo
  • PyFerret
    • PyFerret Downloads and Install ../../faq/ferret-faqs.html
    • What is PyFerret?
    • Why use PyFerret?
    • PyFerret for the Ferret user
    • PyFerret command syntax: quick-start notes
    • PyFerret for the Python user
    • Graphics in PyFerret ?
    • New Ferret functionality
    • PyFerret Python functions and constants
    • PyFerret Python objects and methods
    • Ferret external functions in Python
    • Ferret Fortran external functions
    • PyFerret metadata-and-data dictionaries
  • OPeNDAP
    • OPeNDAP usage in Ferret
    • Use OPeNDAP Demo
    • Test OPeNDAP

EXPNDI_ID_BY_Z_COUNTS

 
 

Appendix A

 

EXPNDI_ID_BY_Z_COUNTS(counts,max profile len)

Creates 2D variable, ID number by profile-length on an XZ grid. Counts may be the ROWSIZE variable in a Discrete Geometries dataset. This function synthesizes an ID variable, which is the profile or 'feature' index value.

 

 

Arguments:

COUNTS

The count of values in each profile or other feature type

 

Maxlen

K size of the result: maximum profile length

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

 

yes? let rowsize = {3,4,2}
yes? list EXPNDI_ID_BY_Z_COUNTS( rowsize, `rowsize[i=@max]`)
!-> list EXPNDI_ID_BY_Z_COUNTS( rowsize, 4)
VARIABLE : EXPNDI_ID_BY_Z_COUNTS( ROWSIZE, 4)
SUBSET : 3 by 4 points (X-Z)
1 2 3 
1 2 3
1 / 1: 1.000 2.000 3.000
2 / 2: 1.000 2.000 3.000
3 / 3: 1.000 2.000 ...
4 / 4: ... 2.000 ...