Class Heclib
- All Implemented Interfaces:
Serializable
The following methods all use 4-character parameters to set or retrieve global settings or current-file settings. None of the methods supports the entire parameter list, and sometimes multiple methods use the same parameter to mean different things.
zset(String, String, int)
zsetfi(int[], String, String, int, int[])
zquery(String, stringContainer, int[])
zinqir(int[], String, stringContainer, int[])
zinquire(int[], String)
The following table compares the parameter usage of the methods.
zset() | zsetfi() | zquery() | zinqir() | zinquire() | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parameter | Version | Description | Parameter | Version | Description | Parameter | Version | Description | Parameter | Version | Description | Parameter | Version | Description |
ABOR | 6 | Sets whether library will abort on fatal error | ABOR | 6 | Reports whether library will abort on fatal error | ABOR | 6 | Reports whether library will abort on fatal error | ||||||
ALLV | 6 or 7 | Sets the default version for new DSS files opened | ALLV | 6 or 7 | Reports the default version for new DSS files opened | |||||||||
CAAL | 7 | Reports the number of catalog sort records added since last sort | ||||||||||||
CALL | 7 | Reports the catalog sort list length | ||||||||||||
CAST | 6 | Sets whether to show status when generating catalog | ||||||||||||
CATS | 7 | Reports the catalog sort list status | ||||||||||||
CCDA | 6 | Sets whether to exclude missing periods from condensed catalogs | ||||||||||||
CLEA | 7 | Clears error number and message | CLEA | 6 | Sets error state (use "" and 0 to clear). Use ERRO and STAT to retrieve | |||||||||
COLL | 7 | Sets whether to expect collection records in new file | COLL | 6 | Reports whether the file contains collection records | COLL | 6 or 7 |
|
||||||
COMP | 6 | Sets whether to compress time series records when copying or squeezing | ||||||||||||
CPDD | 6 | Reports and possibly fixes corrupted paired data records | ||||||||||||
CURR | 6 or 7 | Sets the current item number of an in-progress multi-item operation | CURR | 6 or 7 | Reports the current item number of an in-progress multi-item operation | CURR | 7 | Reports the current item number in an in-progress multi-item operation | ||||||
DATE | 7 | Reports the library version date | ||||||||||||
DCDB | 6 | Sets whether data compression debug is turned on | ||||||||||||
DEAD | 6 | Reports percentage of file that is dead space | DEAD | 6 or 7 | Reports percentage of file that is dead space | |||||||||
DELE | 6 | Reports number of deleted records in file | DELE | 6 or 7 | Reports number of deleted records in file | |||||||||
DETU | 7 | Detune file for testing purposes | ||||||||||||
DSIZ | 7 | Reports the dead space size in words | ||||||||||||
DSSV | 6 or 7 | Sets the version for the next new DSS file opened | DSSV | 6 or 7 | Reports the version for next new DSS file opened | |||||||||
EMPT | 6 or 7 | Sets whether a squeeze of file copy will copy empty records | EMPT | 6 or 7 | Reports whether a squeeze of file copy will copy empty records | |||||||||
ERRO | 6 or 7 | Reports the current error status | ERRO | 6 or 7 | Reports the current error status | ERRO | 6 or 7 | Reports the current error status | ||||||
EXPA | 7 | Reports the number of expansions | ||||||||||||
FDAT | 6 | Sets the file creation date (for squeeze only) | FDAT | 6 | Reports the file creation date | |||||||||
FLAG or QUAL | 6 | Sets whether to write quality flags | FLAG or QUAL | 6 | Reports whether last record read contained quality flags | |||||||||
FMUL | 6 | Force multi-user access | ||||||||||||
FSIZ | 6 | Reports the file size in words | FSIZ | 6 or 7 | Reports the file size in words | |||||||||
FTIM | 7 | Reports the last written time of the file in epoch milliseconds | ||||||||||||
FVER | 6 or 7 | Reports the version of the DSS file | FVER | 6 or 7 | Reports the version of the DSS file | |||||||||
HAND | 6 | Sets whether to display the file handle rather than the unit number | HAND or UNIT | 6 or 7 |
|
|||||||||
HSIZ | 6 | Sets the size of the hash table for squeezing the DSS file | HSIZ | 6 | Reports the size of the hash table | |||||||||
INTE | 6 or 7 | Sets whether an in-progress multi-item operation is marked as interrupted | INTE | 7 | Reports whether an in-progress multi-item operation has been marked as interrupted | |||||||||
LWDA | 6 | Reports the last written date of DSS file | ||||||||||||
LWTI | 6 | Reports the last written time of DSS file | ||||||||||||
MAPU | 6 | Sets the Fortran unit number to write the catalog map to | ||||||||||||
MAXA | 7 | Reports the length of the longest A part | ||||||||||||
MAXB | 7 | Reports the length of the longest B part | ||||||||||||
MAXC | 7 | Reports the length of the longest C part | ||||||||||||
MAXD | 7 | Reports the length of the longest D part | ||||||||||||
MAXE | 6 or 7 | Sets the maximum number errors allowed for an multi-item operation | MAXE | 6 or 7 | Reports the maximum number errors allowed for an in-progress multi-item operation | MAXE | 7 | Reports the length of the longest E part | ||||||
MAXF | 7 | Reports the length of the longest F part | ||||||||||||
MAXP | 7 | Sets the maximum number of pathnames expected | MAXP | 7 | Sets the maximum number of pathnames expected | MAXP | 7 | Reports the maximum number of pathnames expected | ||||||
MFLU | 7 | Flushes the message output buffer | ||||||||||||
MHAN | 7 | Sets the message output handle | MHAN | 7 | Sets the message output handle | MHAN | 7 | Reports the message output handle | ||||||
MLVL, MLEV, or MESS | 6 or 7 | Sets the global message level. MESS is DSS 7 only | MLVL or MLEV | 7 | Sets the global message level. | MLVL or MLEV | 6 or 7 | Reports the global message level | MLVL or MLEV | 6 | Reports the global message level | MLVL or MLEV | 6 or 7 | Reports the global message level |
MTIM | 7 | Reports the last time this process wrote to the file in epoch milliseconds | ||||||||||||
MULT | 6 | Sets the current DSS file into multi user mode | MULT or ACCE | 6 or 7 | Sets file access mode. ACCE is DSS7 only | MULT | 6 | Reports Whether the DSS file is in multi user mode | MULT | 6 or 7 | Reports whether the DSS file is in multi user mode | |||
MUNI or MLFN | 6 or 7 | Sets the Fortran unit number of message output. MLFN is DSS 6 only | MUNI | 7 | Sets the Fortran unit number of message output. | MUNI or MLFN | 6 or 7 | Reports Fortran unit number of message output. MLFN is DSS 6 only. | MUNI or MLFN | 6 | Reports Fortran unit number of message output | MUNI | 6 or 7 | Reports Fortran unit number of message output |
NALI | 7 | Reports the number of alias records in the DSS file | ||||||||||||
NAME | 6 or 7 | Reports the name of the DSS file | ||||||||||||
NDAT | 7 | Sets logical number of data elements to set in info area | NDAT | 7 | Reports the logical number of data elements to store in the info area | |||||||||
NERR | 6 or 7 | Sets the number errors encountered in an in-progress multi-item operation | NERR | 6 or 7 | Reports the number errors encountered in an in-progress multi-item operation | NERR | 7 | Reports the number errors encountered in an in-progress multi-item operation | ||||||
NOTH | 7 | Reports the number of other processes accessing the file | ||||||||||||
NPRI | 7 | Reports the number of primary (non-alias) records in the DSS file | ||||||||||||
NREC | 6 | Reports the number of records in the DSS file | NREC | 6 or 7 | Reports the total number of records (primary and alias) in the DSS file | |||||||||
OTHE | 7 | Reports whether other processes are accessing the file | ||||||||||||
POIN | 6 | Reports the pointer efficiency of file in % | ||||||||||||
PREC | 6 | Sets the data precision for data compression methods | PREC | 6 | Reports the data precision for data compression of the last record read | PREC | 6 | Reports the data precision for data compression of the last record read | ||||||
PROG or PRGN | 6 or 7 | Sets the name of the program that will write the next record. PRGN is DSS 6 only | PROG | 6 | Reports the name of the program that will write the next record | PROG | 6 or 7 | Reports the name of the program that wrote the last record read | ||||||
PROT | 6 | Sets whether to overwrite existing records | ||||||||||||
PSEU | 6 | Sets the pseudo regular interval for the next record written | PSEU | 6 | Sets the pseudo regular interval for a specified record | |||||||||
QPRO | 6 | Sets whether protection bit in quality flags is observed | QPRO | 6 | Reports whether protection bit in quality flags is observed | |||||||||
RDAT | 6 | Sets the last written date of next record written | RDAT | 6 | Reports the last written date of last record read | |||||||||
READ | 6 | Sets whether access to file is read only | READ | 7 | Sets whether access to file is read only | READ | 6 or 7 | Reports whether access to file is read only | READ | 6 or 7 | Reports whether access to file is read only | |||
RECL | 7 | Sets reclaim space level | RECL | 7 | Reports the reclaim space level | |||||||||
RENA | 7 | Reports number of renamed records | ||||||||||||
REMO | 6 | Reports whether DSS file is remote | ||||||||||||
RTIM | 6 | Sets the last written time of next record written | RTIM | 6 | Reports the last written time of last record read | |||||||||
RVER | 6 | Sets the version number for the next record written | RVER | 6 or 7 | Reports the version number of last record read | |||||||||
SIZE | 6 | Sets the estimated file size for new file | SIZE | 6 | Reports the file size in KB | SIZE | 6 or 7 | Reports the file size in KB | ||||||
SQUE | 6 | Sets whether a squeeze is performed when requested, even if it's not necessary | SQUE | 6 | Reports whether a squeeze is performed when requested, even if it's not necessary | SQUE | 6 | Reports whether file needs to be squeezed | SQUE | 6 or 7 | Reports whether file needs to be squeezed | |||
SQST | 6 | Sets whether to show status when squeezing file | ||||||||||||
STAT | 6 or 7 |
|
STAT | 6 or 7 |
|
|||||||||
SWAP | 6 | Reports whether the current hardware big endian (must swap words) | ||||||||||||
TABL | 6 | Sets the type of hash table | TABL | 6 | Reports the type of hash table | |||||||||
TAG | 6 | Reports the tag of last record accessed | TAG | 6 | Reports the tag of last record read | |||||||||
TOL | 6 | Sets the tolerance for replacing existing values | ||||||||||||
TOTA | 6 or 7 | Sets the total number of items for an multi-item operation | TOTA | 6 or 7 | Reports the total number of items of an in-progress multi-item operation | TOTA | 7 | Reports the total number of items of an in-progress multi-item operation | ||||||
TWCA | 6 | Sets whether to use the time window as a selection criterion when generating a catalog | ||||||||||||
TYPE | 6 | Sets the data type for data to be written | TYPE | 6 or 7 | Reports the data type of last record read | |||||||||
UNIT or FILN | 6 | Set the Fortran unit number of the next DSS File to open | UNIT | 6 | Reports the Fortran unit number of DSS File | |||||||||
UPRT | 6 | Sets whether record times will be time of write instead the time the file was opened | ||||||||||||
VDTM | 6 or 7 | Sets the default native vertical datum. Alpha takes precedence over number if both are specified | VDTM | 7 | Reports the default native vertical datum | VDTM | 6 or 7 | Reports the default native vertical datum | ||||||
VDOW | 7 | Sets whether incoming native vertical datum can overwrite the location record's native vertical datum | VDOW | 7 | Reports whether incoming native vertical datum can overwrite the location record's native vertical datum | VDOW | 7 | Reports whether incoming native vertical datum can overwrite the location record's native vertical datum | ||||||
VERS | 6 or 7 | Reports the library version | VERS | 6 or 7 | Reports the library version | |||||||||
WRIT | 7 | Reports whether the DSS file is opened in a writable mode | ||||||||||||
ZONE | 6 | Sets the time zone of the next record to write | ZONE | 6 | Reports the time zone of last record read | |||||||||
80CO | 6 | Sets whether in 80 column output mode | 80CO | 6 | Reports whether in 80 column output mode | 80CO | 6 | Reports whether in 80 column output mode |
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
protected static int
protected static int
protected static int
protected static int
protected static String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final boolean
static final String
static final double
static final float
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
closescratchdsscatalog
(int[] catalogUnit) Closes the scratch DSS catalog filestatic int
Deprecated.static String
decodeHollerith
(int[] ints) Deprecated.Do NOT use for anything other that decoding strings encoded by legacy applications!static void
encodeHollerith
(String s, int[] ints) Deprecated.Do NOT use this for anything except for encoding strings that will be decoded by legacy applications!static int[]
floats2ints
(float[] floatArray) Converts a float array into the byte-equivalent int array for working with user headersstatic int
fortranClose
(int unit) Uses Fortran to close a filestatic int
fortranFlush
(int unit) Uses Fortran to flush file buffer to disk (Windows OS only)static int
fortranOpen
(String filename, int unit) Uses Fortran to open a filestatic void
fortranWind
(int unit) Uses Fortran to position a file at EOFstatic int
fortranWrite
(String string, int unit) Uses Fortran to write a Java String to a filestatic int
Retrieves the current item in an ongoing multi-item operation.static String
getDssErrorName
(int dssError) Retrieves the text version of a DSS error from its numerical valuestatic String
getEPartFromInterval
(int interval, int[] status) Deprecated.static String
getErrorInfo
(int errorCode) Uses zerrorDecode to return a text message specifying the functions, errors, etc...static String
getFunctionFromId
(int functionId) Retrieves the text version of a DSS function ID from its numerical valuestatic void
Deprecated.static int
Retrieves the major version of the library (i.e., 7).static int
Retrieves the numeric library minor version (e.g., 7-BG = 7) Valid characters are A-Z, a-z A == 1, B == 2, a == 27, b == 28static int
Retrieves the numeric library sub-version (e.g., 7-BG = 2) Valid characters are A-Z, a-z A == 1, B == 2, a == 27, b == 28static int
Retrieves the numeric library version (e.g., 7-BG = 70207).static String
Retrieves the full library version string (e.g., "7-BG")static int
getMessageGroupForFunction
(int functionID) Retrieve a message function group ID from a function ID.static String
getMessageLevelFromId
(int messageLevel) Retrieves a text version of a DSS message level from its numerical valuestatic String
getProcessName
(int processID) Retrieves the process name associated with a process ID (Windows OS only)protected static char
getVersChar
(int vers) protected static int
getVersFromChar
(char version) static String
getVersionString
(int numericVersion) Converts a full numeric version (file or library) to a version stringstatic void
Hec_closescratchdsscatalog
(int[] catalogUnit) Deprecated.Useclosescratchdsscatalog(int[])
instead.static int
Hec_datjul
(String cdate, int[] stat) Deprecated.UseHecTime.datjul(String, intContainer, intContainer)
instead.static int
Hec_fortranClose
(int unit) Deprecated.UsefortranClose(int)
instead.static int
Hec_fortranFlush
(int unit) Deprecated.UsefortranFlush(int)
instead.static int
Hec_fortranOpen
(String filename, int unit) Deprecated.UsefortranOpen(String, int)
instead.static void
Hec_fortranWind
(int unit) Deprecated.UsefortranWind(int)
instead.static int
Hec_fortranWrite
(String string, int unit) Deprecated.UsefortranWrite(String, int)
instead.static int
Deprecated.UsegetCurrentRec()
instead.static String
Hec_getEPartFromInterval
(int interval, int[] status) Deprecated.static void
Hec_getime
(String userLine, int[] juls, int[] istime, int[] jule, int[] ietime, int[] status) Deprecated.static String
Hec_getProcessName
(int processID) Deprecated.UsegetProcessName(int)
instead.static String
Hec_holString
(float[] hol, int length) Deprecated.UseholString(float[], int)
instead.static String
Hec_holString
(int[] hol, int length) Deprecated.UseholString(int[], int)
instead.static long
Hec_i4toi8
(int int4a, int int4b) Deprecated.Usei4toi8(int, int)
insteadstatic void
Hec_i8toi4
(long integer8, int[] int4a, int[] int4b) Deprecated.Usei8toi4(long, int[], int[])
insteadstatic int
Hec_idaywk
(int jul) Deprecated.UseHecTime.idaywk(int)
instead.static int
Deprecated.UseHecTime.ihm2m_2(String)
instead.static void
Hec_inctim
(int intl, int nper, int juls, int istime, int[] jule, int[] ietime) Deprecated.UseHecTime.inctim(int, int, int, int, int[], int[])
instead.static int
Hec_isUnitConnected
(int unit) Deprecated.UseisUnitConnected(int)
instead.static int
Hec_iymdjl
(int year, int month, int day) Deprecated.UseHecTime.iymdjl(int, int, int)
instead.static void
Hec_jliymd
(int julian, int[] yearMonthDay) Deprecated.UseHecTime.jliymd(int, int[])
instead.static String
Hec_juldat
(int julian, int style) Deprecated.UseHecTime.juldat(int, int)
instead.static int
Hec_m2ihm
(int min, stringContainer hourMinutes) Deprecated.UseHecTime.m2ihm(int, stringContainer)
instead.static void
Hec_makedsscatalog
(String dssFileName, int[] ifltab, String catalogInstructions, int[] numberFound, int[] catalogUnit) Deprecated.Usemakedsscatalog(String, int[], String, int[], int[])
instead.static int
Hec_nopers
(int intl, int juls, int istime, int jule, int ietime) Deprecated.UseHecTime.nopers(int, int, int, int, int)
instead.static int
Deprecated.There is no way to close the file handle.static int
Hec_readf
(int handle, int[] array, long address, int numberWords) Deprecated.There is no way to close the file handle.static int
Hec_squeezeDSS
(String dssFileName) Deprecated.UsesqueezeDSS(String)
instead.static void
Hec_StringHol
(String str, int length, float[] hol) Deprecated.UseStringHol(String, int, float[])
instead.static void
Hec_StringHol
(String str, int length, int[] hol) Deprecated.UseholString(int[], int)
instead.static void
Hec_systim
(int[] julian, int[] seconds) Deprecated.UseHecTime.systim(int[], int[], boolean, String)
instead.static int
Hec_zaliasAdd
(int[] ifltab, String primaryPathname, String aliasPathname) Deprecated.UsezaliasAdd(int[], String, String)
instead.static int
Hec_zaliasGetPrimary
(int[] ifltab, String aliasPathname, stringContainer primaryPathname) Deprecated.UsezaliasGetPrimary(int[], String, stringContainer)
instead.static int
Hec_zaliasList
(int[] ifltab, String aliasPathname, StringArrayContainer pathnameList) Deprecated.UsezaliasList(int[], String, StringArrayContainer)
instead.static int
Hec_zaliasRemove
(int[] ifltab, String pathname, boolean removeAll) Deprecated.UsezaliasRemove(int[], String, boolean)
instead.static int
Hec_zarrayRetrieve
(int[] ifltab, ArrayContainer arrayContainer) Deprecated.UsezarrayRetrieve(int[], ArrayContainer)
instead.static int
Hec_zarrayStore
(int[] ifltab, ArrayContainer arrayContainer) Deprecated.UsezarrayStore(int[], ArrayContainer)
instead.static void
Hec_zbegdt
(int julian, int interval, int[] year, int[] month, int[] day, int[] block) Deprecated.static int
Hec_zcatalog
(int[] ifltab, HecDssCatalog dssCatalog) Deprecated.Usezcatalog(int[], HecDssCatalog)
instead.static int
Hec_zcatalogFile
(int[] ifltab, String catalogName, boolean sorted, String pathWithWildChars) Deprecated.UsezcatalogFile(int[], String, boolean, String)
instead.static void
Hec_zcheck
(int[] ifltab, String pathname, int[] numberHeader, int[] numberData, int[] exists) Deprecated.Usezcheck(int[], String, int[], int[], int[])
instead.static int
Hec_zcheckAccessReset
(int[] ifltab, boolean forceReopen, int quiescentTimeMills) Deprecated.UsezcheckAccessReset(int[], boolean, int)
instead.static int
Hec_zcheckFile
(int[] ifltab) Deprecated.UsezcheckFile(int[])
instead.static void
Hec_zcklnk
(int[] ifltab, int[] nerror) Deprecated.Usezcklnk(int[], int[])
instead.static void
Hec_zckmul
(int[] ifltab) Deprecated.Usezckmul(int[])
instead.static void
Hec_zckpat
(int[] ifltab, int[] nerror) Deprecated.Usezckpat(int[], int[])
instead.static void
Hec_zckpnb
(int[] ifltab, int[] nerror) Deprecated.Usezckpnb(int[], int[])
instead.static void
Hec_zclose
(int[] ifltab) Deprecated.Usezclose(int[])
instead.static int
Hec_zcofil
(int[] ifltabFrom, int[] ifltabTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated.Usezcofil(int[], int[], int[], int, int[], int)
instead.static String
Hec_zcolist
(int[] ifltab, int[] filePos, String seedPathname) Deprecated.Usezcolist(int[], int[], String)
instead.static int
Hec_zconvertVersion
(String nameFrom, String nameTo) Deprecated.UsezconvertVersion(String, String)
instead.static int
Hec_zcorec
(int[] ifltabFrom, int[] ifltabTo, String pathnameFrom, String pathnameTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated.static void
Hec_zdblook
(int[] ifltab, int address, int numberWords) Deprecated.Usezdblook(int[], int, int)
instead.static void
Hec_zdbmod
(int[] ifltab, long address, long value, String characterValue, int useCharacterValue) Deprecated.Usezdbmod(int[], long, long, String, int)
instead.static void
Hec_zdcinf
(int[] method, float[] baseValue, int[] baseSet, int[] deltaSize, int[] precision, int[] status) Deprecated.Usezdcinf(int[], float[], int[], int[], int[], int[])
instead.static void
Hec_zdebug1
(int value4, long[] value8, stringContainer crealValue, stringContainer cstringValue, int[] ibytes) Deprecated.static void
Hec_zdebug7
(int[] value, long[] lvalue8, int[] value4a, int[] value4b, stringContainer cstringDouble, stringContainer cstringReala, stringContainer cstringRealb, stringContainer cstringValue, int[] ibytes) static int
Hec_zdelet
(int[] ifltab, String pathname) Deprecated.Usezdelet(int[], String)
instead.static void
Hec_zdtype
(int[] ifltab, String pathname, int[] checkedNumber, int[] exists, stringContainer type, int[] dataType) Deprecated.static int
Deprecated.UsezerrorCheck()
instead.static int
Deprecated.UsezerrorClear()
instead.static int
Hec_zerrorCode
(int[] ifltab) Deprecated.UsezerrorCode(int[])
instead.static int
Hec_zerrorGet
(DSSErrorMessage errorMessage) Deprecated.UsezerrorGet(DSSErrorMessage)
instead.static int
Hec_zfileAccessInfo
(int[] ifltab, int[] accessMode, int[] numberAccesses, int[] numberWriting, int[] pidsArray, int[] modesArray, int arraySize, int[] numberPids) Deprecated.static int
Hec_zfileError
(int[] ifltab) Deprecated.UsezfileError(int[])
instead.static void
Hec_zfilst
(int[] ifltab) Deprecated.Usezfilst(int[])
instead.static void
Hec_zflush
(int[] ifltab, int forceFlush) Deprecated.Usezflush(int[], int)
instead.static boolean
Hec_zfname
(String name, stringContainer outName) Deprecated.static void
Hec_zget
(int[] ifltab, long address, int numberArray, long[] array) Deprecated.Usezget(int[], long, int, long[])
instead.static int
Hec_zgetArraySizes
(int[] ifltab, String pathname, int[] lengthDescriptionHeader, int[] lengthInternalHeader, int[] lengthCompressionHeader, int[] lengthUserHeader, int[] numberValues, int[] logicalNumberValues, int[] lengthDataArray, int[] lengthDataArray2) Deprecated.UsezreadRawRecord(int[], RawContainer, boolean)
insteadstatic int
Hec_zgetCatalogSortAddresses
(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Deprecated.UsezgetCatalogSortAddresses(int[], long[], int)
instead.static int
Hec_zgetDssVersion
(int[] ifltab) Deprecated.UsezgetDssFileVersion(int[])
instead.static int
Hec_zgetFileVersion
(String dssFileName) Deprecated.UsezgetFileVersion(String)
instead.static void
Hec_zgetInterval
(int[] interval, stringContainer ePart, int[] nvals, int[] status) Deprecated.static int
Hec_zgetMessageLevel
(int functionGroupID) Deprecated.UsezgetMessageLevel(int)
instead.static int
Hec_zgetProgress
(int handle) Deprecated.UsezgetProgress(int)
instead.static int
Hec_zgetRecordBasics
(int[] ifltab, HecDSSRecordBasics recordBasics) Deprecated.UsezgetRecordBasics(int[], HecDSSRecordBasics)
instead.static void
Hec_zgetrw
(long address, int[] record, int[] word) Deprecated.Usezgetrw(long, int[], int[])
instead.static void
Hec_zgintl
(int[] interval, String ePart, int[] nvals, int[] status) Deprecated.static int
Hec_zgpnp
(String inputLine, stringContainer aPart, stringContainer bPart, stringContainer cPart, stringContainer dPart, stringContainer ePart, stringContainer fPart) static int
Hec_zgridRetrieve
(int[] ifltab, GridStructContainer gridStruct, boolean retrieveData) Deprecated.UsezgridRetrieve(int[], GridStructContainer, boolean)
instead.static int
Hec_zgridRetrieveVersion
(int[] ifltab, String path, int[] gridStructVersion) Deprecated.UsezgridRetrieveVersion(int[], String, int[])
instead.static int
Hec_zgridStore
(int[] ifltab, GridStructContainer gridStruct) Deprecated.UsezgridStore(int[], GridStructContainer)
instead.static void
Hec_zgtrec
(int[] ifltab, long address, int numberWords, int[] array) Deprecated.Usezgtrec(int[], long, int, int[])
instead.static void
Hec_zincbk
(int[] block, int[] julian, int[] year, int[] month, int[] day) Deprecated.Usezincbk(int[], int[], int[], int[], int[])
insteadstatic void
Hec_zinqir
(int[] ifltab, String param, stringContainer alpha, int[] number) Deprecated.Usezinqir(int[], String, stringContainer, int[])
instead.static long
Hec_zinquire
(int[] ifltab, String parameter) Deprecated.Usezinquire(int[], String)
instead.static void
Hec_zirbeg
(int[] ifltab, int julian, String ePart, int[] year, int[] month, int[] day, int[] block, int[] minutesInBlock, int[] incrementBlock) Deprecated.static long
Hec_zlastWriteTime
(int[] ifltab, String pathname) Deprecated.UsezlastWriteTime(int[], String)
instead.static long
Hec_zlastWriteTimeFile
(int[] ifltab) Deprecated.UsezlastWriteTimeFile(int[])
instead.static int
Hec_zlocationRetrieve
(int[] ifltab, DataContainer dataContainer) Deprecated.UsezlocationRetrieve(int[], DataContainer)
instead.static int
Hec_zlocationStore
(int[] ifltab, DataContainer dataContainer) Deprecated.UsezlocationStore(int[], DataContainer)
instead.static void
Hec_zmaxpart
(int[] ifltab, int[] maxpart) Deprecated.Usezmaxpart(int[], int[])
instead.static void
Hec_zmessage
(int[] ifltab, String message) Deprecated.Usezmessage(int[], String)
instead.static int
Hec_zmessageGroups
(TextContainer textContainer) Deprecated.UsezmessageGroups(TextContainer)
instead.static int
Hec_zndata
(int[] ifltab, long startTime, Vector<String> pathnames, Vector<Long> updateTimes, Vector<Integer> recordTypes) Deprecated.Usezndata(int[], long, Vector, Vector, Vector)
instead.static void
Hec_znextts
(int[] ifltab, String path, stringContainer next, int lforward, int[] status) Deprecated.UseDSSPathname.incrementTSPathname(String, int, int[])
instead.static void
Hec_zofset
(int[] julian, int[] minutes, int interval, int flag, int[] offset) Deprecated.static void
Deprecated.Usezopen(int[], String, int[])
instead.static String
Deprecated.static int
Hec_zpathnameListJava
(int[] ifltab, String[] pathnames, int statusWanted, int typeWantedStart, int typeWantedEnd, int[] startDates, int[] endDates, int pathnameLen) Deprecated.Usezcatalog(int[], HecDssCatalog)
insteadstatic int
Hec_zpdRetrieve
(int[] ifltab, PairedDataContainer pdc) Deprecated.UsezpdRetrieve(int[], PairedDataContainer)
instead.static int
Hec_zpdStore
(int[] ifltab, PairedDataContainer pdc) Deprecated.UsezpdStore(int[], PairedDataContainer)
instead.static int
Hec_zplist
(int[] ifltab, String instructions, int[] filePos, stringContainer pathname) Deprecated.This routine is inefficient.static String
Hec_zpseudorts
(String fromPathname, int[] interval, int action) Deprecated.static void
Hec_zquery
(String param, stringContainer alpha, int[] number) Deprecated.Usezquery(String, stringContainer, int[])
instead.static boolean
Hec_zrdpat
(int[] catalogUnit, int[] position, int[] referenceNumber, stringContainer tag, stringContainer pathname) Deprecated.static int
Hec_zreadRawRecord
(int[] ifltab, RawContainer rawContainer, boolean getLengthsOnly) Deprecated.UsezreadRawRecord(int[], RawContainer, boolean)
instead.static void
Hec_zreadx
(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, short[] data, int kdata, int[] ndata, int plan, int[] found) static void
Hec_zreadxBytes
(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, byte[] data, int kdata, int[] ndata, int plan, int[] found) static void
Hec_zrecadd
(int[] ifltab, String path, long[] internals, int[] istat) Deprecated.Usezrecadd(int[], String, long[])
instead.static int
Hec_zrecInfo
(int[] ifltab, HecDSSRecordInfo recordInfo, String startDate, String startTime, String endDate, String endTime) Deprecated.static int
Hec_zrenam
(int[] ifltab, String pathname, String newPathname) Deprecated.Usezrenam(int[], String, String)
instead.static void
Hec_zrinfo
(int[] ifltab, String pathname, int[] lexists, int[] recordType, stringContainer recordTypeDescription, int[] ldoubles, int[] lquality, int[] precision, stringContainer recordTag, stringContainer lastWrittenDate, stringContainer lastWrittenTime, stringContainer programName, int[] version, int[] numberData, int[] spaceAllocated, int[] timeSeriesCompression, int[] lpasswordProtected) static void
Hec_zritsc
(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int getDoubles, int[] doublesRead, int[] timeBuffer, float[] floatValues, double[] doubleValues, int maxValues, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int inflag, int[] status) static void
Hec_zritsx
(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, float[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) static void
Hec_zritsxd
(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, double[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) static void
Hec_zrpd
(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, float[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, int[] headu, int kheadu, int[] nheadu, int[] istat) static void
Hec_zrpdd
(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, double[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, float[] headu, int kheadu, int[] nheadu, int[] istat) static void
Hec_zrrts
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, stringContainer units, stringContainer type, int[] offset, int[] status) Deprecated.static void
Hec_zrrtsc
(int[] ifltab, String pathname, String startDate, String startTime, int maxNumber, int[] numberRead, int getDoubles, int[] doublesRead, float[] floatValues, double[] doubleValues, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] offset, int[] compression, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int[] status) static void
Hec_zrrtsx
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) static void
Hec_zrrtsxd
(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) static void
Hec_zrtxts
(int[] ifltab, String pathname, stringContainer cString, int maxString, int[] numbString, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] status) Deprecated.static void
Deprecated.Usezset(String, String, int)
instead.static int
Hec_zsetCatalogSortAddresses
(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Deprecated.UsezsetCatalogSortAddresses(int[], long[], int)
instead.static void
Hec_zsetfi
(int[] ifltab, String parameter, String alpha, int number, int[] status) Deprecated.Usezsetfi(int[], String, String, int, int[])
instead.static void
Hec_zsetInterrupt
(int handle) Deprecated.UsezsetInterrupt(int)
instead.static void
Hec_zsetMessageLevel
(int functionGroupID, int levelID) Deprecated.UsezsetMessageLevel(int, int)
instead.static void
Hec_zsitsc
(int[] ifltab, String pathname, int[] times, float[] floatValues, double[] doubleValues, int storeDouble, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int inFlag, int[] status) static void
Hec_zsitsx
(int[] ifltab, String pathname, int[] times, float[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) Deprecated.static void
Hec_zsitsxd
(int[] ifltab, String pathname, int[] times, double[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) static void
Hec_zspd
(int[] ifltab, String cpath, int nord, int ncurve, int ihoriz, String cunitsX, String ctypeX, String cunitsY, String ctypeY, float[] values, String[] clabel, boolean label, float[] headu, int nheadu, int iplan, int[] istat) static void
Hec_zspdd
(int[] ifltab, String cpath, int nord, int ncurve, int ihoriz, String cunitsX, String ctypeX, String cunitsY, String ctypeY, double[] values, String[] clabel, boolean label, float[] headu, int nheadu, int iplan, int[] istat) static void
Hec_zsrts
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, String units, String type, int[] plan, int[] status) Deprecated.static void
Hec_zsrtsc
(int[] ifltab, String pathname, String startDate, String startTime, int number, int storeDouble, float[] floatValues, double[] doubleValues, int[] flags, int storeFlags, String units, String type, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) static void
Hec_zsrtsx
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) static void
Hec_zsrtsxd
(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) static void
Hec_zstfh
(String[] clabel, String[] citems, int numberItems, float[] header, int headerMax, int[] headerNumber, int[] istat) Deprecated.static void
Hec_zstxta
(int[] ifltab, String pathname, String charString, int[] userHeader, int numberHeader, int[] status) Deprecated.Usezstxta(int[], String, String, int[], int, int[])
instead.static int
Hec_ztextRetrieve
(int[] ifltab, TextContainer textContainer) Deprecated.UseztextRetrieve(int[], TextContainer)
instead.static int
Hec_ztextStore
(int[] ifltab, TextContainer textContainer) Deprecated.UseztextStore(int[], TextContainer)
instead.static int
Hec_ztinRetrieve
(int[] ifltab, TinContainer tinContainer, boolean retrieveData) Deprecated.UseztinRetrieve(int[], TinContainer, boolean)
instead.static int
Hec_ztinStore
(int[] ifltab, TinContainer tinContainer) Deprecated.UseztinStore(int[], TinContainer)
instead.static void
Hec_ztsends
(int[] ifltab, String pathname, int searchOption, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, int[] lfound) Deprecated.static void
Hec_ztsGetStandardInterval
(int dssVersion, int[] interval, String ePart, int[] status) Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead.static void
Hec_ztsGetStandardInterval7
(int[] interval, String ePart, int[] status) Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead.static void
Hec_ztsinfo
(int[] ifltab, String pathname, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, stringContainer units, stringContainer type, int[] lflags, int[] ldouble, int[] lfound) static void
Hec_ztsrange
(int[] ifltab, String pathname, int searchOption, stringContainer firstPath, stringContainer lastPath, int[] numberFound) Deprecated.static int
Hec_ztsRetrieve
(int[] ifltab, TimeSeriesContainer tsc, String startDate, String startTime, String endDate, String endTime, int retrieveFlag) Deprecated.static int
Hec_ztsStore
(int[] ifltab, TimeSeriesContainer tsc, int storageFlag) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static int
Hec_zundel
(int[] ifltab, String pathname) Deprecated.Usezundel(int[], String)
instead.static void
Hec_zupath
(String pathname, int[] ibpart, int[] iepart, int[] ilpart, int[] istat) Deprecated.static void
Hec_zustfh
(String[] clabel, String[] citems, int numberItems, int[] position, float[] header, int headerNumber, int[] istat) Deprecated.static int
Hec_zwhatChanged
(int[] ifltab, HecDssCatalog dssCatalog) Deprecated.UsezwhatChanged(int[], HecDssCatalog)
instead.static int
Hec_zwhatChangedCompare
(int[] ifltab, HecDssCatalog dssCatalogBefore, HecDssCatalog dssCatalogChanged, String pathWithWild, boolean boolUseCRC) Deprecated.static int
Hec_zwhatChangedSetStart
(int[] ifltab, HecDssCatalog dssCatalog, String pathnameWithWild, boolean useCRC) Deprecated.static int
Hec_zwriteRawRecord
(int[] ifltab, RawContainer rawContainer) Deprecated.UsezwriteRawRecord(int[], RawContainer)
instead.static void
Hec_zwritx
(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, short[] data, int ndata, int type, int plan, int[] status, int[] found) Deprecated.static void
Hec_zwritxBytes
(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, byte[] data, int ndata, int type, int plan, int[] status, int[] found) static String
holString
(float[] hol, int length) Deprecated.UsedecodeHollerith(int[])
instead.static String
holString
(int[] hol, int length) Deprecated.UsedecodeHollerith(int[])
instead.static long
i4toi8
(int int4a, int int4b) Converts two 4-byte integers to an 8-byte integer in little endian modestatic void
i8toi4
(long integer8, int[] int4a, int[] int4b) Converts an 8-byte integer to two 4-byte integers in little endian modestatic int
idaywk
(int julian) Deprecated.UseHecTime.idaywk(int)
instead.static int
Deprecated.UseHecTime.ihm2m(String)
instead.static void
inctim
(int interval, int numberPeriods, int julianStart, int minutesStart, int[] julianEnd, int[] minutesEnd) Deprecated.UseHecTime.inctim(int, int, int, int, int[], int[])
instead.static float[]
ints2floats
(int[] intArray) Converts an int array into the byte-equivalent float array for working with user headersstatic boolean
isUnitConnected
(int unit) Uses Fortran to determine whether a unit number is connected to filestatic int
iymdjl
(int year, int month, int day) Deprecated.UseHecTime.iymdjl(int, int, int)
instead.static void
jliymd
(int julian, int[] yearMonthDay) Deprecated.UseHecTime.jliymd(int, int[])
instead.static String
juldat
(int julian, int style) Deprecated.UseHecTime.juldat(int, int)
instead.static int
m2ihm
(int minutes, stringContainer hourMinutes) Deprecated.UseHecTime.m2ihm(int, stringContainer)
instead.static void
makedsscatalog
(String dssFileName, int[] ifltab, String catalogInstructions, int[] numberFound, int[] catalogUnit) Creates a scratch catalog file from the instructions in catalogInstructionsstatic int
min
(int... vals) Variadic minimumstatic int
nopers
(int interval, int julianStart, int minutesStart, int julianEnd, int minutesEnd) Deprecated.UseHecTime.nopers(int, int, int, int, int)
instead.static int
squeezeDSS
(String dssFileName) Squeezes a DSS filestatic void
Deprecated.UseencodeHollerith(String, int[])
insteadstatic void
Deprecated.UseencodeHollerith(String, int[])
insteadstatic void
systim
(int[] julian, int[] seconds) Deprecated.UseHecTime.systim(int[], int[], boolean, String)
instead.static int
Adds an alias to a primary pathnamestatic int
zaliasGetPrimary
(int[] ifltab, String aliasPathname, stringContainer primaryPathname) Retrieve the primary pathname for an alias pathnamestatic int
zaliasList
(int[] ifltab, String aliasPathname, StringArrayContainer pathnameList) Retrieves all alias pathnames for a specified pathnamestatic int
zaliasRemove
(int[] ifltab, String pathname, boolean removeAll) Removes an alias pathname or all aliase pathnames for a primary pathnamestatic int
zarrayRetrieve
(int[] ifltab, ArrayContainer arrayContainer) Retrieves an array recordstatic int
zarrayStore
(int[] ifltab, ArrayContainer arrayContainer) Stores an array recordstatic void
zbegdt
(int julian, int interval, int[] year, int[] month, int[] day, int[] block, int DSSVersion) Deprecated.static int
zcatalog
(int[] ifltab, HecDssCatalog catalog) Retrieves a catalog of the DSS filestatic int
zcatalogFile
(int[] ifltab, String catalogName, boolean sorted, String pathWithWildChars) Generates a catalog file for a DSS filestatic void
Determines whether a pathname exists and the size of the header and data areas if it does.static int
zcheckAccessReset
(int[] ifltab, boolean forceReopen, int quiescentTimeMills) Resets a DSS file to advisory single-user mode by closing and re-opening it (DSS 7 only).static int
zcheckFile
(int[] ifltab) Exhaustively checks DSS file integrity.static void
zcklnk
(int[] ifltab, int[] nerror) Checks a DSS file's links for possible errors.static void
zckmul
(int[] ifltab) Switches from advisory single-user mode to multi-user mode if another process has requested write access to the filestatic void
zckpat
(int[] ifltab, int[] nerror) Checks a DSS file's pathnames for possible errors.static void
zckpnb
(int[] ifltab, int[] nerror) Checks a DSS file for structural errors.static void
zclose
(int[] ifltab) Closes a DSS filestatic int
zcofil
(int[] ifltabFrom, int[] ifltabTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated.UsezcopyFile(int[], int[])
insteadstatic String
Returns a list of collection pathnames one at a time (DSS 6 only)static int
zconvertVersion
(String nameFrom, String nameTo) Converts a DSS 6 file to a DSS 7 file or vice versastatic int
zcopyFile
(int[] ifltabFrom, int[] ifltabTo) Copies one DSS file into another DSS filestatic int
zcopyRecord
(int[] ifltabFrom, int[] ifltabTo, String pathnameFrom, String pathnameTo) Copies a record to another pathname in the same DSS file or to a different DSS file with same or different pathnamestatic int
zcorec
(int[] ifltabFrom, int[] ifltabTo, String pathnameFrom, String pathnameTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated.UsezcopyRecord(int[], int[], String, String)
insteadstatic void
zdblook
(int[] ifltab, int address, int numberWords) Dumps arbitrary data from a DSS file to the message outputstatic void
Modifies a single word in a DSS filestatic void
zdcinf
(int[] method, float[] baseValue, int[] baseSet, int[] deltaSize, int[] precision, int[] status) Retrieves data compression information (DSS 6 only)static void
zdebug1
(int value4, long[] value8, stringContainer crealValue, stringContainer cstringValue, int[] ibytes) Converts a 4-byte integer to various other typesstatic void
zdebug7
(int[] value, long[] lvalue8, int[] value4a, int[] value4b, stringContainer cstringDouble, stringContainer cstringReala, stringContainer cstringRealb, stringContainer cstringValue, int[] ibytes) Converts a 4-byte or 8-byte integer into various data formatsstatic int
Marks a record as deleted in a DSS file.static void
zdtype
(int[] ifltab, String pathname, int[] checkedNumber, int[] exists, stringContainer type, int[] dataType) Determines the type of record in a DSS filestatic int
Retrieves the severity of the last error encounteredstatic int
Clears the last error encounteredstatic int
zerrorCode
(int[] ifltab) Retrieves the last error encountered for the DSS filestatic int
zerrorDecode
(int errorCode, int[] highFunction, int[] lowFunction, int[] dssError, int[] status) Decodes an error code returned from a DSS 7 routine.static int
zerrorGet
(DSSErrorMessage errorMessage) Retrieves the details of the last error encounteredstatic int
zfileAccessInfo
(int[] ifltab, int[] accessMode, int[] numberAccesses, int[] numberWriting, int[] pidsArray, int[] modesArray, int arraySize, int[] numberPids) Gets information about other processes writing to the filestatic int
zfileError
(int[] ifltab) Retrieves the greatest severity of errors encountered for the DSS filestatic void
zfilst
(int[] ifltab) Prints status information of a DSS file to the message outputstatic void
zflush
(int[] ifltab, int forceFlush) Flushes DSS output buffer to disk and DSS message buffer to output device (DSS 7 only)static boolean
zfname
(String name, stringContainer outName) Deprecated.static void
zget
(int[] ifltab, long address, int numberArray, long[] array) Reads a logical record from a DSS file into a long bufferstatic int
zgetArraySizes
(int[] ifltab, String pathname, int[] lengthDescriptionHeader, int[] lengthInternalHeader, int[] lengthCompressionHeader, int[] lengthUserHeader, int[] numberValues, int[] logicalNumberValues, int[] lengthDataArray, int[] lengthDataArray2) Deprecated.UsezreadRawRecord(int[], RawContainer, boolean)
insteadstatic int
zgetCatalogSortAddresses
(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Reads the list of addresses to sorted pathnames (if it exists) in order to presort the catalogstatic int
zgetDssFileVersion
(int[] ifltab) Retrieves the major version (i.e., 6 or 7) of a DSS filestatic String
zgetDssFileVersionString
(int[] ifltab) Retrieves the full library version string (e.g., "7-BG") of an opened DSS filestatic int
Deprecated.UsegetLibraryMajorVersion()
insteadstatic String
Deprecated.UsegetLibraryVersionString()
insteadstatic int
zgetDssVersion
(int[] ifltab) Deprecated.UsezgetDssFileVersion(int[])
insteadstatic int
zgetFileVersion
(String dssFileName) Retrieves the major version (i.e., 6 or 7) of a DSS filestatic void
zgetInterval
(int[] interval, stringContainer ePart, int[] nvals, int[] status) Deprecated.static int
zgetMessageLevel
(int functionGroupID) Retrieves the message level for a specified function groupstatic int
Retrieves the current item number of an in-progress multi-item operation.static int
zgetProgress
(int handle) Retrieves the current item number of an in-progress multi-item operation.static int
zgetRecordBasics
(int[] ifltab, HecDSSRecordBasics recordBasics) Retrieves basic information about a recordstatic void
zgetrw
(long address, int[] record, int[] word) Retrieves a record and a word from a specified addressstatic void
Deprecated.static int
zgpnp
(String inputLine, stringContainer aPart, stringContainer bPart, stringContainer cPart, stringContainer dPart, stringContainer ePart, stringContainer fPart) static int
zgridRetrieve
(int[] ifltab, GridStructContainer gridStruct, boolean retrieveData) Retrieves a gridded data recordstatic int
zgridRetrieveVersion
(int[] ifltab, String path, int[] gridStructVersion) Retrieves the structure version of a gridded data recordstatic int
zgridStore
(int[] ifltab, GridStructContainer gridStruct) Stores gridded datastatic void
zgtrec
(int[] ifltab, long address, int numberWords, int[] array) Reads a logical record from a DSS file into an integer bufferstatic void
zincbk
(int[] block, int[] julian, int[] year, int[] month, int[] day) Increments a date by +/- 1 day, month, year, decade, or century.static void
zinqir
(int[] ifltab, String param, stringContainer alpha, int[] number) Queries a file parameterstatic long
Queries a file parameterstatic void
zirbeg
(int[] ifltab, int julian, String ePart, int[] year, int[] month, int[] day, int[] block, int[] minutesInBlock, int[] incrementBlock) Deprecated.static long
zlastWriteTime
(int[] ifltab, String pathname) Retrieves the last written time for a record in epoch millisecondsstatic long
zlastWriteTimeFile
(int[] ifltab) Retrieves the last written time for a DSS filestatic int
zlocationRetrieve
(int[] ifltab, DataContainer dataContainer) Retrieves a location recordstatic int
zlocationStore
(int[] ifltab, DataContainer dataContainer) Stores a location recordstatic void
zmaxpart
(int[] ifltab, int[] maxpart) Retrieves the maximum part length for each pathname partstatic void
Outputs a messagestatic int
zmessageGroup
(TextContainer textContainer) Deprecated.UsezmessageGroups(TextContainer)
insteadstatic int
zmessageGroups
(TextContainer textContainer) Retrieves message group name/number associationsstatic int
zndata
(int[] ifltab, long startTime, Vector<String> pathnames, Vector<Long> updateTimes, Vector<Integer> recordTypes) Retrieves information about records updated since a specified time.static void
znextts
(int[] ifltab, String path, stringContainer next, int lforward, int[] status) Deprecated.UseDSSPathname.incrementTSPathname(String, int, int[])
instead.static void
zofset
(int[] julian, int[] minutes, int interval, int flag, int[] offset) Deprecated.static void
Opens a DSS file.static String
Deprecated.static int
zpathnameListJava
(int[] ifltab, String[] pathnames, int statusWanted, int typeWantedStart, int typeWantedEnd, int[] startDates, int[] endDates, int pathnameLen) Deprecated.Usezcatalog(int[], HecDssCatalog)
insteadstatic int
zpdRetrieve
(int[] ifltab, PairedDataContainer pdc) Retrieves a paired data recordstatic int
zpdStore
(int[] ifltab, PairedDataContainer pdc) Stores a paired data recordstatic int
zplist
(int[] ifltab, String instructions, int[] filePos, stringContainer pathname) Deprecated.Usezcatalog(int[], HecDssCatalog)
instead.static String
zpseudorts
(String fromPathname, int[] interval, int action) Deprecated.static void
zquery
(String param, stringContainer alpha, int[] number) Queries a library parameterstatic boolean
zrdpat
(int[] catalogUnit, int[] position, int[] referenceNumber, stringContainer tag, stringContainer pathname) Reads a pathname from a catalog file by reference number.static int
zreadRawRecord
(int[] ifltab, RawContainer rawContainer, boolean getLengthsOnly) Reads raw record datastatic void
zreadx
(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, short[] data, int kdata, int[] ndata, int plan, int[] found) Reads a single record using 2-byte array elements for data.static void
zreadxBytes
(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, byte[] data, int kdata, int[] ndata, int plan, int[] found) Reads a single record using 1-byte array elements for data.static int
Retrieves record address for debuggingstatic int
zrecInfo
(int[] ifltab, HecDSSRecordInfo recordInfo, String startDate, String startTime, String endDate, String endTime) Retrieves information about a recordstatic int
Renames a recordstatic void
zrinfo
(int[] ifltab, String pathname, int[] lexists, int[] recordType, stringContainer recordTypeDescription, int[] ldoubles, int[] lquality, int[] precision, stringContainer recordTag, stringContainer lastWrittenDate, stringContainer lastWrittenTime, stringContainer programName, int[] version, int[] numberData, int[] spaceAllocated, int[] timeSeriesCompression, int[] lpasswordProtected) Retrieves information about a record.static void
zritsc
(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int getDoubles, int[] doublesRead, int[] timeBuffer, float[] floatValues, double[] doubleValues, int maxValues, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int inflag, int[] status) Deprecated.static void
zritsx
(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, float[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) Deprecated.static void
zritsxd
(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, double[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) Deprecated.static void
zrpd
(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, float[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, int[] headu, int kheadu, int[] nheadu, int[] istat) Deprecated.UsezpdRetrieve(int[], PairedDataContainer)
instead.static void
zrpdd
(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, double[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, float[] headu, int kheadu, int[] nheadu, int[] istat) Deprecated.UsezpdRetrieve(int[], PairedDataContainer)
instead.static void
zrrts
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, stringContainer units, stringContainer type, int[] offset, int[] status) Deprecated.static void
zrrtsc
(int[] ifltab, String pathname, String startDate, String startTime, int maxNumber, int[] numberRead, int getDoubles, int[] doublesRead, float[] floatValues, double[] doubleValues, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] offset, int[] compression, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int[] status) Deprecated.static void
zrrtsx
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) Deprecated.static void
zrrtsxd
(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) Deprecated.static void
zrtxts
(int[] ifltab, String pathname, stringContainer cString, int maxString, int[] numbString, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] status) Deprecated.UseztextRetrieve(int[], TextContainer)
instead.static void
Sets a library parameterstatic int
zsetCatalogSortAddresses
(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Writes the list of addresses to sorted pathnames after a catalog sort in order to presort the next catalogstatic void
Sets a library parameterstatic void
Sets whether an in-progress multi-item operation is marked as interrupted.static void
zsetInterrupt
(int handle) Sets whether an in-progress multi-item operation is marked as interrupted.static void
zsetMessageLevel
(int functionGroupID, int levelID) Sets the message level for a specified function groupstatic void
zsitsc
(int[] ifltab, String pathname, int[] times, float[] floatValues, double[] doubleValues, int storeDouble, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int inFlag, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static void
zsitsx
(int[] ifltab, String pathname, int[] times, float[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static void
zsitsxd
(int[] ifltab, String pathname, int[] times, double[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static void
zspd
(int[] ifltab, String cpath, int nord, int ncurve, int ihoriz, String cunitsX, String ctypeX, String cunitsY, String ctypeY, float[] values, String[] clabel, boolean label, float[] headu, int nheadu, int iplan, int[] istat) Deprecated.UsezpdStore(int[], PairedDataContainer)
instead.static void
zspdd
(int[] ifltab, String cpath, int nord, int ncurve, int ihoriz, String cunitsX, String ctypeX, String cunitsY, String ctypeY, double[] values, String[] clabel, boolean label, float[] headu, int nheadu, int iplan, int[] istat) Deprecated.UsezpdStore(int[], PairedDataContainer)
instead.static void
zsrts
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, String units, String type, int[] plan, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static void
zsrtsc
(int[] ifltab, String pathname, String startDate, String startTime, int number, int storeDouble, float[] floatValues, double[] doubleValues, int[] flags, int storeFlags, String units, String type, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static void
zsrtsx
(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static void
zsrtsxd
(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.static void
zstfh
(String[] clabel, String[] citems, int numberItems, float[] header, int headerMax, int[] headerNumber, int[] istat) Converts one or more character key,value pairs into user header elements in a float arraystatic void
zstfh
(String[] clabel, String[] citems, int numberItems, int[] header, int headerMax, int[] headerNumber, int[] istat) Converts one or more character key,value pairs into user header elements in an int arraystatic void
zstxta
(int[] ifltab, String pathname, String charString, int[] userHeader, int numberHeader, int[] status) Deprecated.UseztextStore(int[], TextContainer)
instead.static int
ztextRetrieve
(int[] ifltab, TextContainer textContainer) Retrieves a text recordstatic int
ztextStore
(int[] ifltab, TextContainer textContainer) Stores a text recordstatic int
ztinRetrieve
(int[] ifltab, TinContainer tinContainer, boolean retrieveData) Retrieves a TIN recordstatic int
ztinStore
(int[] ifltab, TinContainer tinContainer) Stores TIN datastatic void
ztsends
(int[] ifltab, String pathname, int searchOption, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, int[] lfound) Finds the time series extents of a datasetstatic void
ztsGetStandardInterval
(int dssVersion, int[] interval, String ePart, int[] status) Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead.static void
ztsGetStandardInterval7
(int[] interval, String ePart, int[] status) Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead.static void
ztsinfo
(int[] ifltab, String pathname, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, stringContainer units, stringContainer type, int[] lflags, int[] ldouble, int[] lfound) Retrieves information about a (regular or irregular) time series recordstatic void
ztsrange
(int[] ifltab, String pathname, int searchOption, stringContainer firstPath, stringContainer lastPath, int[] numberFound) Finds the first and last pathname of a time series datasetstatic int
ztsRetrieve
(int[] ifltab, TimeSeriesContainer tsc, String startDate, String startTime, String endDate, String endTime, int retrieveFlag) Retrieves time series dataset for a specified time windowstatic int
ztsStore
(int[] ifltab, TimeSeriesContainer tsc, int storageFlag) Stores a time series datasetstatic int
Undeletes a recordstatic void
Deprecated.static void
zustfh
(String[] clabel, String[] citems, int numberItems, int[] position, float[] header, int headerNumber, int[] istat) Extracts key,value pairs from a float array of user header elementsstatic void
zustfh
(String[] clabel, String[] citems, int numberItems, int[] position, int[] header, int headerNumber, int[] istat) Extracts key,value pairs from an int array of user header elementsstatic int
zwhatChanged
(int[] ifltab, HecDssCatalog catalog) Retrieves a catalog of all records changed since the last call to zwhatChangedSetStart().static int
zwhatChangedCompare
(int[] ifltab, HecDssCatalog dssCatalogBefore, HecDssCatalog dssCatalogChanged, String pathWithWild, boolean boolUseCRC) Retrieves a catalog of records changed since the last call to zwhatChangedSetStart().static int
zwhatChangedSetStart
(int[] ifltab, HecDssCatalog dssCatalog, String pathnameWithWild, boolean useCRC) Sets the starting catalog for comparison against a later catalog, optionally retrieving the catalogstatic int
zwriteRawRecord
(int[] ifltab, RawContainer rawContainer) Writes raw record datastatic void
zwritx
(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, short[] data, int ndata, int type, int plan, int[] status, int[] found) Stores arbitrary data values specified as shorts to a DSS record.static void
zwritxBytes
(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, byte[] data, int ndata, int type, int plan, int[] status, int[] found) Stores arbitrary data values specified as bytes to a DSS record.
-
Field Details
-
UNDEFINED_FLOAT
public static final float UNDEFINED_FLOAT- See Also:
-
UNDEFINED_DOUBLE
public static final double UNDEFINED_DOUBLE- See Also:
-
UNDEFINED_INT
public static final int UNDEFINED_INT- See Also:
-
UNDEFINED_SHORT
public static final int UNDEFINED_SHORT- See Also:
-
libraryVersion
protected static int libraryVersion -
libraryMajorVersion
protected static int libraryMajorVersion -
librarySubVersion
protected static int librarySubVersion -
libraryMinorVersion
protected static int libraryMinorVersion -
libraryVersionString
-
DSS_FUNCTION_zopen_ID
public static final int DSS_FUNCTION_zopen_ID- See Also:
-
DSS_FUNCTION_zclose_ID
public static final int DSS_FUNCTION_zclose_ID- See Also:
-
DSS_FUNCTION_zset_ID
public static final int DSS_FUNCTION_zset_ID- See Also:
-
DSS_FUNCTION_zget_ID
public static final int DSS_FUNCTION_zget_ID- See Also:
-
DSS_FUNCTION_zput_ID
public static final int DSS_FUNCTION_zput_ID- See Also:
-
DSS_FUNCTION_zgetBuff_ID
public static final int DSS_FUNCTION_zgetBuff_ID- See Also:
-
DSS_FUNCTION_zputBuff_ID
public static final int DSS_FUNCTION_zputBuff_ID- See Also:
-
DSS_FUNCTION_zmemoryGet_ID
public static final int DSS_FUNCTION_zmemoryGet_ID- See Also:
-
DSS_FUNCTION_zmemoryFree_ID
public static final int DSS_FUNCTION_zmemoryFree_ID- See Also:
-
DSS_FUNCTION_zreadDisk_ID
public static final int DSS_FUNCTION_zreadDisk_ID- See Also:
-
DSS_FUNCTION_zwriteDisk_ID
public static final int DSS_FUNCTION_zwriteDisk_ID- See Also:
-
DSS_FUNCTION_zpermRead_ID
public static final int DSS_FUNCTION_zpermRead_ID- See Also:
-
DSS_FUNCTION_zpermCreate_ID
public static final int DSS_FUNCTION_zpermCreate_ID- See Also:
-
DSS_FUNCTION_zpermWrite_ID
public static final int DSS_FUNCTION_zpermWrite_ID- See Also:
-
DSS_FUNCTION_zwriteEOF_ID
public static final int DSS_FUNCTION_zwriteEOF_ID- See Also:
-
DSS_FUNCTION_zinit_ID
public static final int DSS_FUNCTION_zinit_ID- See Also:
-
DSS_FUNCTION_zinitIfltab_ID
public static final int DSS_FUNCTION_zinitIfltab_ID- See Also:
-
DSS_FUNCTION_zlocking_ID
public static final int DSS_FUNCTION_zlocking_ID- See Also:
-
DSS_FUNCTION_znewFileSize_ID
public static final int DSS_FUNCTION_znewFileSize_ID- See Also:
-
DSS_FUNCTION_zgetFileSpace_ID
public static final int DSS_FUNCTION_zgetFileSpace_ID- See Also:
-
DSS_FUNCTION_zcheckKeys_ID
public static final int DSS_FUNCTION_zcheckKeys_ID- See Also:
-
DSS_FUNCTION_zflushToDisk_ID
public static final int DSS_FUNCTION_zflushToDisk_ID- See Also:
-
DSS_FUNCTION_zhash_ID
public static final int DSS_FUNCTION_zhash_ID- See Also:
-
DSS_FUNCTION_zcheck_ID
public static final int DSS_FUNCTION_zcheck_ID- See Also:
-
DSS_FUNCTION_zreadInfo_ID
public static final int DSS_FUNCTION_zreadInfo_ID- See Also:
-
DSS_FUNCTION_zcheckMultiUser_ID
public static final int DSS_FUNCTION_zcheckMultiUser_ID- See Also:
-
DSS_FUNCTION_zreadInternal_ID
public static final int DSS_FUNCTION_zreadInternal_ID- See Also:
-
DSS_FUNCTION_zwriteInternal_ID
public static final int DSS_FUNCTION_zwriteInternal_ID- See Also:
-
DSS_FUNCTION_zwriteNew_ID
public static final int DSS_FUNCTION_zwriteNew_ID- See Also:
-
DSS_FUNCTION_zwriteExisting_ID
public static final int DSS_FUNCTION_zwriteExisting_ID- See Also:
-
DSS_FUNCTION_zbinNew_ID
public static final int DSS_FUNCTION_zbinNew_ID- See Also:
-
DSS_FUNCTION_zbinUpdate_ID
public static final int DSS_FUNCTION_zbinUpdate_ID- See Also:
-
DSS_FUNCTION_zsetFile_ID
public static final int DSS_FUNCTION_zsetFile_ID- See Also:
-
DSS_FUNCTION_zquery_ID
public static final int DSS_FUNCTION_zquery_ID- See Also:
-
DSS_FUNCTION_zdelete_ID
public static final int DSS_FUNCTION_zdelete_ID- See Also:
-
DSS_FUNCTION_zundelete_ID
public static final int DSS_FUNCTION_zundelete_ID- See Also:
-
DSS_FUNCTION_zcopyFile_ID
public static final int DSS_FUNCTION_zcopyFile_ID- See Also:
-
DSS_FUNCTION_ztsStoreReg_ID
public static final int DSS_FUNCTION_ztsStoreReg_ID- See Also:
-
DSS_FUNCTION_ztsRegStoreBlock_ID
public static final int DSS_FUNCTION_ztsRegStoreBlock_ID- See Also:
-
DSS_FUNCTION_ztsStore_ID
public static final int DSS_FUNCTION_ztsStore_ID- See Also:
-
DSS_FUNCTION_ztsRetrieve_ID
public static final int DSS_FUNCTION_ztsRetrieve_ID- See Also:
-
DSS_FUNCTION_ztsRetrieveReg_ID
public static final int DSS_FUNCTION_ztsRetrieveReg_ID- See Also:
-
DSS_FUNCTION_ztsRegReadBlock_ID
public static final int DSS_FUNCTION_ztsRegReadBlock_ID- See Also:
-
DSS_FUNCTION_ztsWriteBlock_ID
public static final int DSS_FUNCTION_ztsWriteBlock_ID- See Also:
-
DSS_FUNCTION_ztsTrim_ID
public static final int DSS_FUNCTION_ztsTrim_ID- See Also:
-
DSS_FUNCTION_ztsStoreIrreg_ID
public static final int DSS_FUNCTION_ztsStoreIrreg_ID- See Also:
-
DSS_FUNCTION_ztsIrregReadBlock_ID
public static final int DSS_FUNCTION_ztsIrregReadBlock_ID- See Also:
-
DSS_FUNCTION_ztsIrregMergeBlocks_ID
public static final int DSS_FUNCTION_ztsIrregMergeBlocks_ID- See Also:
-
DSS_FUNCTION_ztsRetrieveIrreg_ID
public static final int DSS_FUNCTION_ztsRetrieveIrreg_ID- See Also:
-
DSS_FUNCTION_ztsIrregStoreBlock_ID
public static final int DSS_FUNCTION_ztsIrregStoreBlock_ID- See Also:
-
DSS_FUNCTION_ztsProcessTimes_ID
public static final int DSS_FUNCTION_ztsProcessTimes_ID- See Also:
-
DSS_FUNCTION_zcatalog_ID
public static final int DSS_FUNCTION_zcatalog_ID- See Also:
-
DSS_FUNCTION_zpdStore_ID
public static final int DSS_FUNCTION_zpdStore_ID- See Also:
-
DSS_FUNCTION_zpdRetrieve_ID
public static final int DSS_FUNCTION_zpdRetrieve_ID- See Also:
-
DSS_FUNCTION_zinquire_ID
public static final int DSS_FUNCTION_zinquire_ID- See Also:
-
DSS_FUNCTION_zsqueeze_ID
public static final int DSS_FUNCTION_zsqueeze_ID- See Also:
-
DSS_FUNCTION_ztextStore_ID
public static final int DSS_FUNCTION_ztextStore_ID- See Also:
-
DSS_FUNCTION_ztextRetrieve_ID
public static final int DSS_FUNCTION_ztextRetrieve_ID- See Also:
-
DSS_FUNCTION_zcopyRecord_ID
public static final int DSS_FUNCTION_zcopyRecord_ID- See Also:
-
DSS_FUNCTION_zrename_ID
public static final int DSS_FUNCTION_zrename_ID- See Also:
-
DSS_FUNCTION_zduplicateRecord_ID
public static final int DSS_FUNCTION_zduplicateRecord_ID- See Also:
-
DSS_FUNCTION_zarrayRetrieve_ID
public static final int DSS_FUNCTION_zarrayRetrieve_ID- See Also:
-
DSS_FUNCTION_zarrayStore_ID
public static final int DSS_FUNCTION_zarrayStore_ID- See Also:
-
DSS_FUNCTION_zbinaryStore_ID
public static final int DSS_FUNCTION_zbinaryStore_ID- See Also:
-
DSS_FUNCTION_zbinaryRetrieve_ID
public static final int DSS_FUNCTION_zbinaryRetrieve_ID- See Also:
-
DSS_FUNCTION_zcheckHashTable_ID
public static final int DSS_FUNCTION_zcheckHashTable_ID- See Also:
-
DSS_FUNCTION_zcheckInfo_ID
public static final int DSS_FUNCTION_zcheckInfo_ID- See Also:
-
DSS_FUNCTION_zcheckLinks_ID
public static final int DSS_FUNCTION_zcheckLinks_ID- See Also:
-
DSS_FUNCTION_zcheckPathnameBins_ID
public static final int DSS_FUNCTION_zcheckPathnameBins_ID- See Also:
-
DSS_FUNCTION_zcheckPathnames_ID
public static final int DSS_FUNCTION_zcheckPathnames_ID- See Also:
-
DSS_FUNCTION_zspatialTinStore_ID
public static final int DSS_FUNCTION_zspatialTinStore_ID- See Also:
-
DSS_FUNCTION_zspatialTinRetrieve_ID
public static final int DSS_FUNCTION_zspatialTinRetrieve_ID- See Also:
-
DSS_FUNCTION_zaliasAdd_ID
public static final int DSS_FUNCTION_zaliasAdd_ID- See Also:
-
DSS_FUNCTION_zaliasRemove_ID
public static final int DSS_FUNCTION_zaliasRemove_ID- See Also:
-
DSS_FUNCTION_zaliasUtil_ID
public static final int DSS_FUNCTION_zaliasUtil_ID- See Also:
-
DSS_FUNCTION_zlocationStore_ID
public static final int DSS_FUNCTION_zlocationStore_ID- See Also:
-
DSS_FUNCTION_zlocationRetrieve_ID
public static final int DSS_FUNCTION_zlocationRetrieve_ID- See Also:
-
DSS_FUNCTION_zread_ID
public static final int DSS_FUNCTION_zread_ID- See Also:
-
DSS_FUNCTION_zwrite_ID
public static final int DSS_FUNCTION_zwrite_ID- See Also:
-
DSS_FUNCTION_internalUtility_ID
public static final int DSS_FUNCTION_internalUtility_ID- See Also:
-
DSS_FUNCTION_ztsAggregate_ID
public static final int DSS_FUNCTION_ztsAggregate_ID- See Also:
-
DSS_FUNCTION_ztsDisaggregate_ID
public static final int DSS_FUNCTION_ztsDisaggregate_ID- See Also:
-
DSS_FUNCTION_zspatialGridStore_ID
public static final int DSS_FUNCTION_zspatialGridStore_ID- See Also:
-
DSS_FUNCTION_zspatialGridRetrieve_ID
public static final int DSS_FUNCTION_zspatialGridRetrieve_ID- See Also:
-
DSS_FUNCTION_other_ID
public static final int DSS_FUNCTION_other_ID- See Also:
-
DSS_FUNCTION_javaNativeInterface_ID
public static final int DSS_FUNCTION_javaNativeInterface_ID- See Also:
-
MESS_METHOD_GLOBAL_ID
public static final int MESS_METHOD_GLOBAL_ID- See Also:
-
MESS_METHOD_GENERAL_ID
public static final int MESS_METHOD_GENERAL_ID- See Also:
-
MESS_METHOD_GET_ID
public static final int MESS_METHOD_GET_ID- See Also:
-
MESS_METHOD_PUT_ID
public static final int MESS_METHOD_PUT_ID- See Also:
-
MESS_METHOD_READ_ID
public static final int MESS_METHOD_READ_ID- See Also:
-
MESS_METHOD_WRITE_ID
public static final int MESS_METHOD_WRITE_ID- See Also:
-
MESS_METHOD_PERM_ID
public static final int MESS_METHOD_PERM_ID- See Also:
-
MESS_METHOD_OPEN_ID
public static final int MESS_METHOD_OPEN_ID- See Also:
-
MESS_METHOD_CHECK_ID
public static final int MESS_METHOD_CHECK_ID- See Also:
-
MESS_METHOD_LOCKING_ID
public static final int MESS_METHOD_LOCKING_ID- See Also:
-
MESS_METHOD_TS_READ_ID
public static final int MESS_METHOD_TS_READ_ID- See Also:
-
MESS_METHOD_TS_WRITE_ID
public static final int MESS_METHOD_TS_WRITE_ID- See Also:
-
MESS_METHOD_ALIAS_ID
public static final int MESS_METHOD_ALIAS_ID- See Also:
-
MESS_METHOD_COPY_ID
public static final int MESS_METHOD_COPY_ID- See Also:
-
MESS_METHOD_UTILITY_ID
public static final int MESS_METHOD_UTILITY_ID- See Also:
-
MESS_METHOD_CATALOG_ID
public static final int MESS_METHOD_CATALOG_ID- See Also:
-
MESS_METHOD_FILE_CHECK_ID
public static final int MESS_METHOD_FILE_CHECK_ID- See Also:
-
MESS_METHOD_JNI_ID
public static final int MESS_METHOD_JNI_ID- See Also:
-
MESS_METHOD_UNDEFINED_ID
public static final int MESS_METHOD_UNDEFINED_ID- See Also:
-
MESS_LEVEL_NONE
public static final int MESS_LEVEL_NONE- See Also:
-
MESS_LEVEL_CRITICAL
public static final int MESS_LEVEL_CRITICAL- See Also:
-
MESS_LEVEL_TERSE
public static final int MESS_LEVEL_TERSE- See Also:
-
MESS_LEVEL_GENERAL
public static final int MESS_LEVEL_GENERAL- See Also:
-
MESS_LEVEL_USER_DIAG
public static final int MESS_LEVEL_USER_DIAG- See Also:
-
MESS_LEVEL_INTERNAL_DIAG_1
public static final int MESS_LEVEL_INTERNAL_DIAG_1- See Also:
-
MESS_LEVEL_INTERNAL_DIAG_2
public static final int MESS_LEVEL_INTERNAL_DIAG_2- See Also:
-
onWindows
public static final boolean onWindows -
sysTimeZoneName
-
-
Constructor Details
-
Heclib
public Heclib()
-
-
Method Details
-
zerrorDecode
public static int zerrorDecode(int errorCode, int[] highFunction, int[] lowFunction, int[] dssError, int[] status) throws Exception Decodes an error code returned from a DSS 7 routine. Such error codes are 9 decimal digits formatted as:123456789 │┌>┌>┌>┌> ││ │ │ │ ││ │ │ └── status ││ │ └──── dssError ││ └────── lowFunction │└──────── highFunction └───────── severity
- Parameters:
errorCode
- The 9-digit error code returned from a DSS 7 routinehighFunction
- Element 0 receives the ID of the highest function on the call stack when the error occurred. The text representation of the function ID can be obtained usinggetFunctionFromId(int)
lowFunction
- Element 0 receives the ID of the lowest function on the call stack when the error occurred The text representation of the function ID can be obtained usinggetFunctionFromId(int)
dssError
- Element 0 receives the DSS error number associated with the errorstatus
- Element 0 receives the system error number associated with the error- Returns:
- The severity
- 1 - INFORMATION
- 2 - WARNING
- 3 - INVALID_ARGUMENT
- 4 - WARNING_NO_WRITE_ACCESS
- 5 - WARNING_NO_FILE_ACCESS
- 6 - WRITE_ERROR
- 7 - READ_ERROR
- 8 - CORRUPT_FILE
- 9 - MEMORY_ERROR
- Throws:
Exception
- on null or zero-length parameter
-
getErrorInfo
Uses zerrorDecode to return a text message specifying the functions, errors, etc...- Parameters:
errorCode
- The error code to pass to zerrorDecode- Returns:
- A text message about the error
-
getFunctionFromId
Retrieves the text version of a DSS function ID from its numerical value- Parameters:
functionId
- The function ID- Returns:
- The text representation of the function ID
-
getDssErrorName
Retrieves the text version of a DSS error from its numerical value- Parameters:
dssError
- The DSS error code- Returns:
- The text representation of the DSS error code
-
getMessageLevelFromId
Retrieves a text version of a DSS message level from its numerical value- Parameters:
messageLevel
- The message level- Returns:
- The text representation of the message level
-
getMessageGroupForFunction
public static int getMessageGroupForFunction(int functionID) Retrieve a message function group ID from a function ID. The returned ID is suitable for use inzsetMessageLevel(int, int)
orzgetMessageLevel(int)
.- Parameters:
functionID
- The function ID to retrieve the message function group ID for- Returns:
- the message function group ID
-
floats2ints
public static int[] floats2ints(float[] floatArray) Converts a float array into the byte-equivalent int array for working with user headers- Parameters:
floatArray
- The float array- Returns:
- The int array
-
ints2floats
public static float[] ints2floats(int[] intArray) Converts an int array into the byte-equivalent float array for working with user headers- Parameters:
intArray
- The int array- Returns:
- The float array
-
min
public static int min(int... vals) Variadic minimum- Parameters:
vals
- The values- Returns:
- The minimum of the values
-
Hec_juldat
Deprecated.UseHecTime.juldat(int, int)
instead. -
Hec_datjul
Deprecated.UseHecTime.datjul(String, intContainer, intContainer)
instead. -
Hec_jliymd
Deprecated.UseHecTime.jliymd(int, int[])
instead. -
Hec_iymdjl
Deprecated.UseHecTime.iymdjl(int, int, int)
instead. -
Hec_idaywk
Deprecated.UseHecTime.idaywk(int)
instead. -
Hec_nopers
Deprecated.UseHecTime.nopers(int, int, int, int, int)
instead. -
Hec_inctim
@Deprecated public static void Hec_inctim(int intl, int nper, int juls, int istime, int[] jule, int[] ietime) Deprecated.UseHecTime.inctim(int, int, int, int, int[], int[])
instead. -
Hec_m2ihm
Deprecated.UseHecTime.m2ihm(int, stringContainer)
instead. -
Hec_ihm2m
Deprecated.UseHecTime.ihm2m_2(String)
instead. -
Hec_systim
Deprecated.UseHecTime.systim(int[], int[], boolean, String)
instead. -
Hec_holString
Deprecated.UseholString(int[], int)
instead. -
Hec_StringHol
Deprecated.UseholString(int[], int)
instead. -
Hec_holString
Deprecated.UseholString(float[], int)
instead. -
Hec_StringHol
Deprecated.UseStringHol(String, int, float[])
instead. -
Hec_getime
@Deprecated public static void Hec_getime(String userLine, int[] juls, int[] istime, int[] jule, int[] ietime, int[] status) Deprecated. -
Hec_fortranOpen
Deprecated.UsefortranOpen(String, int)
instead. -
Hec_fortranWrite
Deprecated.UsefortranWrite(String, int)
instead. -
Hec_fortranWind
Deprecated.UsefortranWind(int)
instead. -
Hec_fortranClose
Deprecated.UsefortranClose(int)
instead. -
Hec_fortranFlush
Deprecated.UsefortranFlush(int)
instead. -
Hec_isUnitConnected
Deprecated.UseisUnitConnected(int)
instead. -
Hec_getProcessName
Deprecated.UsegetProcessName(int)
instead. -
Hec_openf
Deprecated.There is no way to close the file handle. Use Java I/O instead. -
Hec_readf
Deprecated.There is no way to close the file handle. Use Java I/O instead. -
Hec_zgetDssVersion
Deprecated.UsezgetDssFileVersion(int[])
instead. -
Hec_closescratchdsscatalog
Deprecated.Useclosescratchdsscatalog(int[])
instead. -
Hec_getEPartFromInterval
Deprecated. -
Hec_makedsscatalog
@Deprecated public static void Hec_makedsscatalog(String dssFileName, int[] ifltab, String catalogInstructions, int[] numberFound, int[] catalogUnit) Deprecated.Usemakedsscatalog(String, int[], String, int[], int[])
instead. -
Hec_squeezeDSS
Deprecated.UsesqueezeDSS(String)
instead. -
Hec_zbegdt
@Deprecated public static void Hec_zbegdt(int julian, int interval, int[] year, int[] month, int[] day, int[] block) Deprecated. -
Hec_zckmul
Deprecated.Usezckmul(int[])
instead. -
Hec_zflush
Deprecated.Usezflush(int[], int)
instead. -
Hec_zcheckAccessReset
@Deprecated public static int Hec_zcheckAccessReset(int[] ifltab, boolean forceReopen, int quiescentTimeMills) Deprecated.UsezcheckAccessReset(int[], boolean, int)
instead. -
Hec_zclose
Deprecated.Usezclose(int[])
instead. -
Hec_zcheck
@Deprecated public static void Hec_zcheck(int[] ifltab, String pathname, int[] numberHeader, int[] numberData, int[] exists) Deprecated.Usezcheck(int[], String, int[], int[], int[])
instead. -
Hec_zckpnb
Deprecated.Usezckpnb(int[], int[])
instead. -
Hec_zcklnk
Deprecated.Usezcklnk(int[], int[])
instead. -
Hec_zckpat
Deprecated.Usezckpat(int[], int[])
instead. -
Hec_zcolist
Deprecated.Usezcolist(int[], int[], String)
instead. -
Hec_zcorec
@Deprecated public static int Hec_zcorec(int[] ifltabFrom, int[] ifltabTo, String pathnameFrom, String pathnameTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated. -
Hec_zcofil
@Deprecated public static int Hec_zcofil(int[] ifltabFrom, int[] ifltabTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated.Usezcofil(int[], int[], int[], int, int[], int)
instead. -
Hec_zdcinf
@Deprecated public static void Hec_zdcinf(int[] method, float[] baseValue, int[] baseSet, int[] deltaSize, int[] precision, int[] status) Deprecated.Usezdcinf(int[], float[], int[], int[], int[], int[])
instead. -
Hec_zdtype
@Deprecated public static void Hec_zdtype(int[] ifltab, String pathname, int[] checkedNumber, int[] exists, stringContainer type, int[] dataType) Deprecated. -
Hec_zdelet
Deprecated.Usezdelet(int[], String)
instead. -
Hec_zdblook
Deprecated.Usezdblook(int[], int, int)
instead. -
Hec_zdbmod
@Deprecated public static void Hec_zdbmod(int[] ifltab, long address, long value, String characterValue, int useCharacterValue) Deprecated.Usezdbmod(int[], long, long, String, int)
instead. -
Hec_zdebug1
@Deprecated public static void Hec_zdebug1(int value4, long[] value8, stringContainer crealValue, stringContainer cstringValue, int[] ibytes) Deprecated. -
Hec_zfilst
Deprecated.Usezfilst(int[])
instead. -
Hec_zfname
Deprecated. -
Hec_zgetInterval
@Deprecated public static void Hec_zgetInterval(int[] interval, stringContainer ePart, int[] nvals, int[] status) Deprecated. -
Hec_zrecadd
@Deprecated public static void Hec_zrecadd(int[] ifltab, String path, long[] internals, int[] istat) Deprecated.Usezrecadd(int[], String, long[])
instead. -
Hec_zgetrw
Deprecated.Usezgetrw(long, int[], int[])
instead. -
Hec_zgintl
Deprecated. -
Hec_zgpnp
@Deprecated public static int Hec_zgpnp(String inputLine, stringContainer aPart, stringContainer bPart, stringContainer cPart, stringContainer dPart, stringContainer ePart, stringContainer fPart) -
Hec_zgtrec
Deprecated.Usezgtrec(int[], long, int, int[])
instead. -
Hec_zget
Deprecated.Usezget(int[], long, int, long[])
instead. -
Hec_zincbk
@Deprecated public static void Hec_zincbk(int[] block, int[] julian, int[] year, int[] month, int[] day) Deprecated.Usezincbk(int[], int[], int[], int[], int[])
instead -
Hec_zinqir
@Deprecated public static void Hec_zinqir(int[] ifltab, String param, stringContainer alpha, int[] number) Deprecated.Usezinqir(int[], String, stringContainer, int[])
instead. -
Hec_zgetFileVersion
Deprecated.UsezgetFileVersion(String)
instead. -
Hec_zirbeg
@Deprecated public static void Hec_zirbeg(int[] ifltab, int julian, String ePart, int[] year, int[] month, int[] day, int[] block, int[] minutesInBlock, int[] incrementBlock) Deprecated. -
Hec_znextts
@Deprecated public static void Hec_znextts(int[] ifltab, String path, stringContainer next, int lforward, int[] status) Deprecated.UseDSSPathname.incrementTSPathname(String, int, int[])
instead. -
Hec_zndata
@Deprecated public static int Hec_zndata(int[] ifltab, long startTime, Vector<String> pathnames, Vector<Long> updateTimes, Vector<Integer> recordTypes) Deprecated.Usezndata(int[], long, Vector, Vector, Vector)
instead. -
Hec_zmaxpart
Deprecated.Usezmaxpart(int[], int[])
instead. -
Hec_zofset
@Deprecated public static void Hec_zofset(int[] julian, int[] minutes, int interval, int flag, int[] offset) Deprecated. -
Hec_zopen
Deprecated.Usezopen(int[], String, int[])
instead. -
Hec_zpath
@Deprecated public static String Hec_zpath(String aPart, String bPart, String cPart, String dPart, String ePart, String fPart) Deprecated. -
Hec_zplist
@Deprecated public static int Hec_zplist(int[] ifltab, String instructions, int[] filePos, stringContainer pathname) Deprecated.This routine is inefficient. UseHec_zcatalog(int[], HecDssCatalog)
instead. -
Hec_zpseudorts
Deprecated. -
Hec_zquery
Deprecated.Usezquery(String, stringContainer, int[])
instead. -
Hec_zrdpat
@Deprecated public static boolean Hec_zrdpat(int[] catalogUnit, int[] position, int[] referenceNumber, stringContainer tag, stringContainer pathname) Deprecated. -
Hec_zreadx
@Deprecated public static void Hec_zreadx(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, short[] data, int kdata, int[] ndata, int plan, int[] found) -
Hec_zreadxBytes
@Deprecated public static void Hec_zreadxBytes(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, byte[] data, int kdata, int[] ndata, int plan, int[] found) -
Hec_zrenam
Deprecated.Usezrenam(int[], String, String)
instead. -
Hec_zrinfo
@Deprecated public static void Hec_zrinfo(int[] ifltab, String pathname, int[] lexists, int[] recordType, stringContainer recordTypeDescription, int[] ldoubles, int[] lquality, int[] precision, stringContainer recordTag, stringContainer lastWrittenDate, stringContainer lastWrittenTime, stringContainer programName, int[] version, int[] numberData, int[] spaceAllocated, int[] timeSeriesCompression, int[] lpasswordProtected) -
Hec_zritsc
@Deprecated public static void Hec_zritsc(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int getDoubles, int[] doublesRead, int[] timeBuffer, float[] floatValues, double[] doubleValues, int maxValues, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int inflag, int[] status) -
Hec_zritsx
@Deprecated public static void Hec_zritsx(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, float[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) -
Hec_zritsxd
@Deprecated public static void Hec_zritsxd(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, double[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) -
Hec_zrpd
@Deprecated public static void Hec_zrpd(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, float[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, int[] headu, int kheadu, int[] nheadu, int[] istat) -
Hec_zrpdd
@Deprecated public static void Hec_zrpdd(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, double[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, float[] headu, int kheadu, int[] nheadu, int[] istat) -
Hec_zrrtsc
@Deprecated public static void Hec_zrrtsc(int[] ifltab, String pathname, String startDate, String startTime, int maxNumber, int[] numberRead, int getDoubles, int[] doublesRead, float[] floatValues, double[] doubleValues, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] offset, int[] compression, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int[] status) -
Hec_zrrts
@Deprecated public static void Hec_zrrts(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, stringContainer units, stringContainer type, int[] offset, int[] status) Deprecated. -
Hec_zrrtsx
@Deprecated public static void Hec_zrrtsx(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) -
Hec_zrrtsxd
@Deprecated public static void Hec_zrrtsxd(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) -
Hec_zrtxts
@Deprecated public static void Hec_zrtxts(int[] ifltab, String pathname, stringContainer cString, int maxString, int[] numbString, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] status) Deprecated. -
Hec_zset
Deprecated.Usezset(String, String, int)
instead. -
Hec_zsetfi
@Deprecated public static void Hec_zsetfi(int[] ifltab, String parameter, String alpha, int number, int[] status) Deprecated.Usezsetfi(int[], String, String, int, int[])
instead. -
Hec_zsitsc
@Deprecated public static void Hec_zsitsc(int[] ifltab, String pathname, int[] times, float[] floatValues, double[] doubleValues, int storeDouble, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int inFlag, int[] status) -
Hec_zsitsx
@Deprecated public static void Hec_zsitsx(int[] ifltab, String pathname, int[] times, float[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) Deprecated. -
Hec_zsitsxd
@Deprecated public static void Hec_zsitsxd(int[] ifltab, String pathname, int[] times, double[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) -
Hec_zspd
-
Hec_zspdd
-
Hec_zsrts
@Deprecated public static void Hec_zsrts(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, String units, String type, int[] plan, int[] status) Deprecated. -
Hec_zsrtsc
@Deprecated public static void Hec_zsrtsc(int[] ifltab, String pathname, String startDate, String startTime, int number, int storeDouble, float[] floatValues, double[] doubleValues, int[] flags, int storeFlags, String units, String type, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) -
Hec_zsrtsx
@Deprecated public static void Hec_zsrtsx(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) -
Hec_zsrtsxd
@Deprecated public static void Hec_zsrtsxd(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) -
Hec_zstfh
@Deprecated public static void Hec_zstfh(String[] clabel, String[] citems, int numberItems, float[] header, int headerMax, int[] headerNumber, int[] istat) Deprecated. -
Hec_ztsends
@Deprecated public static void Hec_ztsends(int[] ifltab, String pathname, int searchOption, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, int[] lfound) Deprecated. -
Hec_ztsinfo
@Deprecated public static void Hec_ztsinfo(int[] ifltab, String pathname, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, stringContainer units, stringContainer type, int[] lflags, int[] ldouble, int[] lfound) -
Hec_ztsrange
@Deprecated public static void Hec_ztsrange(int[] ifltab, String pathname, int searchOption, stringContainer firstPath, stringContainer lastPath, int[] numberFound) Deprecated. -
Hec_zstxta
@Deprecated public static void Hec_zstxta(int[] ifltab, String pathname, String charString, int[] userHeader, int numberHeader, int[] status) Deprecated.Usezstxta(int[], String, String, int[], int, int[])
instead. -
Hec_zundel
Deprecated.Usezundel(int[], String)
instead. -
Hec_zupath
@Deprecated public static void Hec_zupath(String pathname, int[] ibpart, int[] iepart, int[] ilpart, int[] istat) Deprecated. -
Hec_zustfh
@Deprecated public static void Hec_zustfh(String[] clabel, String[] citems, int numberItems, int[] position, float[] header, int headerNumber, int[] istat) Deprecated. -
Hec_zwritx
@Deprecated public static void Hec_zwritx(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, short[] data, int ndata, int type, int plan, int[] status, int[] found) Deprecated. -
Hec_zwritxBytes
@Deprecated public static void Hec_zwritxBytes(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, byte[] data, int ndata, int type, int plan, int[] status, int[] found) -
Hec_zsetMessageLevel
Deprecated.UsezsetMessageLevel(int, int)
instead. -
Hec_zgetMessageLevel
Deprecated.UsezgetMessageLevel(int)
instead. -
Hec_i4toi8
Deprecated.Usei4toi8(int, int)
instead -
Hec_i8toi4
Deprecated.Usei8toi4(long, int[], int[])
instead -
Hec_ztsRetrieve
@Deprecated public static int Hec_ztsRetrieve(int[] ifltab, TimeSeriesContainer tsc, String startDate, String startTime, String endDate, String endTime, int retrieveFlag) Deprecated. -
Hec_ztsStore
Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead. -
Hec_ztsGetStandardInterval
@Deprecated public static void Hec_ztsGetStandardInterval(int dssVersion, int[] interval, String ePart, int[] status) Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead. -
Hec_ztsGetStandardInterval7
@Deprecated public static void Hec_ztsGetStandardInterval7(int[] interval, String ePart, int[] status) Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead. -
Hec_zrecInfo
@Deprecated public static int Hec_zrecInfo(int[] ifltab, HecDSSRecordInfo recordInfo, String startDate, String startTime, String endDate, String endTime) Deprecated. -
Hec_zpdStore
Deprecated.UsezpdStore(int[], PairedDataContainer)
instead. -
Hec_zpdRetrieve
Deprecated.UsezpdRetrieve(int[], PairedDataContainer)
instead. -
Hec_zarrayRetrieve
Deprecated.UsezarrayRetrieve(int[], ArrayContainer)
instead. -
Hec_zarrayStore
Deprecated.UsezarrayStore(int[], ArrayContainer)
instead. -
Hec_zconvertVersion
Deprecated.UsezconvertVersion(String, String)
instead. -
Hec_zcatalogFile
@Deprecated public static int Hec_zcatalogFile(int[] ifltab, String catalogName, boolean sorted, String pathWithWildChars) Deprecated.UsezcatalogFile(int[], String, boolean, String)
instead. -
Hec_zgetCatalogSortAddresses
@Deprecated public static int Hec_zgetCatalogSortAddresses(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Deprecated.UsezgetCatalogSortAddresses(int[], long[], int)
instead. -
Hec_zsetCatalogSortAddresses
@Deprecated public static int Hec_zsetCatalogSortAddresses(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Deprecated.UsezsetCatalogSortAddresses(int[], long[], int)
instead. -
Hec_zgetProgress
Deprecated.UsezgetProgress(int)
instead. -
Hec_zsetInterrupt
Deprecated.UsezsetInterrupt(int)
instead. -
Hec_zlastWriteTime
Deprecated.UsezlastWriteTime(int[], String)
instead. -
Hec_zlastWriteTimeFile
Deprecated.UsezlastWriteTimeFile(int[])
instead. -
Hec_zinquire
Deprecated.Usezinquire(int[], String)
instead. -
Hec_zgetRecordBasics
Deprecated.UsezgetRecordBasics(int[], HecDSSRecordBasics)
instead. -
Hec_ztextRetrieve
Deprecated.UseztextRetrieve(int[], TextContainer)
instead. -
Hec_ztextStore
Deprecated.UseztextStore(int[], TextContainer)
instead. -
Hec_ztinRetrieve
@Deprecated public static int Hec_ztinRetrieve(int[] ifltab, TinContainer tinContainer, boolean retrieveData) Deprecated.UseztinRetrieve(int[], TinContainer, boolean)
instead. -
Hec_ztinStore
Deprecated.UseztinStore(int[], TinContainer)
instead. -
Hec_zgridRetrieve
@Deprecated public static int Hec_zgridRetrieve(int[] ifltab, GridStructContainer gridStruct, boolean retrieveData) Deprecated.UsezgridRetrieve(int[], GridStructContainer, boolean)
instead. -
Hec_zgridRetrieveVersion
@Deprecated public static int Hec_zgridRetrieveVersion(int[] ifltab, String path, int[] gridStructVersion) Deprecated.UsezgridRetrieveVersion(int[], String, int[])
instead. -
Hec_zgridStore
Deprecated.UsezgridStore(int[], GridStructContainer)
instead. -
Hec_zcatalog
Deprecated.Usezcatalog(int[], HecDssCatalog)
instead. -
Hec_zwhatChangedSetStart
@Deprecated public static int Hec_zwhatChangedSetStart(int[] ifltab, HecDssCatalog dssCatalog, String pathnameWithWild, boolean useCRC) Deprecated. -
Hec_zwhatChanged
Deprecated.UsezwhatChanged(int[], HecDssCatalog)
instead. -
Hec_zwhatChangedCompare
@Deprecated public static int Hec_zwhatChangedCompare(int[] ifltab, HecDssCatalog dssCatalogBefore, HecDssCatalog dssCatalogChanged, String pathWithWild, boolean boolUseCRC) Deprecated. -
Hec_zerrorCheck
Deprecated.UsezerrorCheck()
instead. -
Hec_zerrorClear
Deprecated.UsezerrorClear()
instead. -
Hec_zerrorGet
Deprecated.UsezerrorGet(DSSErrorMessage)
instead. -
Hec_zerrorCode
Deprecated.UsezerrorCode(int[])
instead. -
Hec_zfileError
Deprecated.UsezfileError(int[])
instead. -
Hec_zcheckFile
Deprecated.UsezcheckFile(int[])
instead. -
Hec_zdebug7
@Deprecated public static void Hec_zdebug7(int[] value, long[] lvalue8, int[] value4a, int[] value4b, stringContainer cstringDouble, stringContainer cstringReala, stringContainer cstringRealb, stringContainer cstringValue, int[] ibytes) -
Hec_zgetArraySizes
@Deprecated public static int Hec_zgetArraySizes(int[] ifltab, String pathname, int[] lengthDescriptionHeader, int[] lengthInternalHeader, int[] lengthCompressionHeader, int[] lengthUserHeader, int[] numberValues, int[] logicalNumberValues, int[] lengthDataArray, int[] lengthDataArray2) Deprecated.UsezreadRawRecord(int[], RawContainer, boolean)
instead -
Hec_zreadRawRecord
@Deprecated public static int Hec_zreadRawRecord(int[] ifltab, RawContainer rawContainer, boolean getLengthsOnly) Deprecated.UsezreadRawRecord(int[], RawContainer, boolean)
instead. -
Hec_zwriteRawRecord
Deprecated.UsezwriteRawRecord(int[], RawContainer)
instead. -
Hec_zfileAccessInfo
@Deprecated public static int Hec_zfileAccessInfo(int[] ifltab, int[] accessMode, int[] numberAccesses, int[] numberWriting, int[] pidsArray, int[] modesArray, int arraySize, int[] numberPids) Deprecated. -
Hec_zmessageGroups
Deprecated.UsezmessageGroups(TextContainer)
instead. -
Hec_getCurrentRec
Deprecated.UsegetCurrentRec()
instead. -
Hec_zpathnameListJava
@Deprecated public static int Hec_zpathnameListJava(int[] ifltab, String[] pathnames, int statusWanted, int typeWantedStart, int typeWantedEnd, int[] startDates, int[] endDates, int pathnameLen) Deprecated.Usezcatalog(int[], HecDssCatalog)
instead -
Hec_zaliasAdd
@Deprecated public static int Hec_zaliasAdd(int[] ifltab, String primaryPathname, String aliasPathname) Deprecated.UsezaliasAdd(int[], String, String)
instead. -
Hec_zaliasGetPrimary
@Deprecated public static int Hec_zaliasGetPrimary(int[] ifltab, String aliasPathname, stringContainer primaryPathname) Deprecated.UsezaliasGetPrimary(int[], String, stringContainer)
instead. -
Hec_zaliasRemove
Deprecated.UsezaliasRemove(int[], String, boolean)
instead. -
Hec_zaliasList
@Deprecated public static int Hec_zaliasList(int[] ifltab, String aliasPathname, StringArrayContainer pathnameList) Deprecated.UsezaliasList(int[], String, StringArrayContainer)
instead. -
Hec_zlocationRetrieve
Deprecated.UsezlocationRetrieve(int[], DataContainer)
instead. -
Hec_zlocationStore
Deprecated.UsezlocationStore(int[], DataContainer)
instead. -
Hec_zmessage
Deprecated.Usezmessage(int[], String)
instead. -
getLibraryMajorVersion
public static int getLibraryMajorVersion()Retrieves the major version of the library (i.e., 7).- Returns:
- The major version
-
getLibraryVersion
public static int getLibraryVersion()Retrieves the numeric library version (e.g., 7-BG = 70207). Valid characters are A-Z, a-z A == 1, B == 2, a == 27, b == 28- Returns:
- The numeric version
-
getLibrarySubVersion
public static int getLibrarySubVersion()Retrieves the numeric library sub-version (e.g., 7-BG = 2) Valid characters are A-Z, a-z A == 1, B == 2, a == 27, b == 28- Returns:
- The numeric sub-version
-
getLibraryMinorVersion
public static int getLibraryMinorVersion()Retrieves the numeric library minor version (e.g., 7-BG = 7) Valid characters are A-Z, a-z A == 1, B == 2, a == 27, b == 28- Returns:
- The numeric minor version
-
zgetDssLibraryVersionString
Deprecated.UsegetLibraryVersionString()
instead -
getLibraryVersionString
Retrieves the full library version string (e.g., "7-BG")- Returns:
- The full library version string
-
getVersionString
Converts a full numeric version (file or library) to a version string- Parameters:
numericVersion
-- Returns:
-
zgetDssLibraryVersion
Deprecated.UsegetLibraryMajorVersion()
instead -
getVersFromChar
protected static int getVersFromChar(char version) -
getVersChar
protected static char getVersChar(int vers) -
zgetDssFileVersionString
Retrieves the full library version string (e.g., "7-BG") of an opened DSS file- Parameters:
ifltab
- The file table of the DSS file- Returns:
- The full library version string
-
zpathnameListJava
@Deprecated public static int zpathnameListJava(int[] ifltab, String[] pathnames, int statusWanted, int typeWantedStart, int typeWantedEnd, int[] startDates, int[] endDates, int pathnameLen) Deprecated.Usezcatalog(int[], HecDssCatalog)
instead -
ztsRetrieve
public static int ztsRetrieve(int[] ifltab, TimeSeriesContainer tsc, String startDate, String startTime, String endDate, String endTime, int retrieveFlag) Retrieves time series dataset for a specified time window- Parameters:
ifltab
- The file table of the DSS filetsc
- Receives the time series values. Set the following fields on input- .fullName - the name of the dataset to retrieve. Can be set using
DataContainer.setName(String)
- .storedAsDoubles - set to true to force retrieving doubles even if floats on disk.
Can be set using
DataContainer.setStoreAsDoubles(boolean)
- .fullName - the name of the dataset to retrieve. Can be set using
startDate
- The date of the start of the time window. Must be in a format that can be used byHecTime.set(String, String)
startTime
- The time of the start of the time window. Must be in a format that can be used byHecTime.set(String, String)
endDate
- The date of the end of the time window. Must be in a format that can be used byHecTime.set(String, String)
endTime
- The time of the end of the time window. Must be in a format that can be used byHecTime.set(String, String)
retrieveFlag
- specifies which values to include- REGULAR TIME SERIES
- 0 - include entire time window and generate times array
- -1 - trim to existing data and generate times array
- -2 - include entire time window and do not generate times array
- -3 - trim to existing data and do not generate times array
- IRREGULAR TIME SERIES
- 0 - include only values within the time window
- 1 - include the value immediately before the time window
- 2 - include the value immediately after the time window
- 3 - include then values immediately before and after the time window
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
-
ztsStore
Stores a time series dataset- Parameters:
ifltab
- The file table of the DSS filetsc
- The dataset to storestorageFlag
- The data storage plan- REGULAR TIME SERIES
- 0 - always replace values in file
- 1 - only store non-missing values that are missing in file
- 2 - always store all values even if all missing
- 3 - don't create empty records and remove any records made empty
- 4 - don't replace non-missing values with missing values
- IRREGULAR TIME SERIES
- 0 - merge data into existing data, overwriting individual values as necessary
- 1 - delete existing data in incoming time window before storing
- REGULAR TIME SERIES
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zpdStore
Stores a paired data record- Parameters:
ifltab
- The file table for the DSS filepdc
- The paired data to store- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zpdRetrieve
Retrieves a paired data record- Parameters:
ifltab
- The file table of the DSS filepdc
- Receives the paired data. Set the .fullName field withDataContainer.setName(String)
on input- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
ztextStore
Stores a text record- Parameters:
ifltab
- The file table of the DSS filetextContainer
- The text or text table to store- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
ztextRetrieve
Retrieves a text record- Parameters:
ifltab
- The file table of the DSS filetextContainer
- Receives the text or text table. Set the .fullName field withDataContainer.setName(String)
on input- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
ztinRetrieve
Retrieves a TIN record- Parameters:
ifltab
- The file table of the DSS filetinContainer
- Receives the TIN data. Set the .fullName field withDataContainer.setName(String)
on inputretrieveData
- Data retrieval flag- 0 - retrieve metadata only
- 1 - retrieve metadata and data
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
ztinStore
Stores TIN data- Parameters:
ifltab
- The file table of the DSS filetinContainer
- The TIN data to store- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zgridRetrieve
Retrieves a gridded data record- Parameters:
ifltab
- The file table of the DSS filegridStruct
- Receives the gridded data. Set the .fullName field withDataContainer.setName(String)
on inputretrieveData
- Data retrieval flag- 0 - retrieve metadata only
- 1 - retrieve metadata and data
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zgridRetrieveVersion
Retrieves the structure version of a gridded data record- Parameters:
ifltab
- The file table of the DSS filepath
- The pathname of the gridded data recordgridStructVersion
- Element 0 receives the grid structure version- 0 - DSS 6 grid
- 1000 - DSS 7 grid
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zgridStore
Stores gridded data- Parameters:
ifltab
- The file table of the DSS filegridStruct
- The gridded data to store- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zmessageGroups
Retrieves message group name/number associations- Parameters:
textContainer
- Receives the message group information. The group names can be retrieved from .getTextTable()[0]. The associated numbers are the array indexes of .getTextTable()[0]- Returns:
- The number of message groups retrieved
-
zmessageGroup
Deprecated.UsezmessageGroups(TextContainer)
instead -
zcatalog
Retrieves a catalog of the DSS file- Parameters:
ifltab
- The file table of the DSS filecatalog
- Receives the catalog. The following .pathnameWithWild field must be set on input. The following fields can optionally be set to further control the pathnames returned- .statusWanted - type of records cataloged
- 0 - all valid records (primary and aliases)
- 1 - primary records only
- 2 - alias records only
- 11 - deleted records only
- 12 - renamed records only
- 100 - all records regardless if deleted, renamed, etc.
- .dataTypeStart - only catalog records with record type >= this
- .dataTypeStart - only catalog records with record type <= this
- 20 - location
- 90 - array (DSS 7 only)
- 91 - integer array (DSS 6 only)
- 92 - float array (DSS 6 only)
- 93 - double array (DSS 6 Only)
- 100 - regular-interval time series
- 101 - regular-interval time series pattern
- 102 - regular-interval time series profile
- 105 - regular-interval time series doubles
- 107 - regular-interval time series double profile
- 110 - irregular-interval time series
- 111 - irregular-interval time series pattern
- 112 - irregular-interval time series profile
- 115 - irregular-interval time series doubles
- 117 - irregular-interval time series double profile
- 200 - paired data
- 205 - paired data doubles
- 300 - text data
- 310 - text table
- 400 - gridded - undefined grid with time
- 401 - gridded - undefined grid
- 410 - gridded - HRAP grid with time reference
- 411 - gridded - HRAP grid
- 420 - gridded - Albers with time reference
- 421 - gridded - Albers
- 430 - gridded - SHG with time reference
- 431 - gridded - SHG
- 450 - spatial - TIN (DSS 7 only)
- 600 - generic file
- 610 - image
- .statusWanted - type of records cataloged
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zwhatChangedSetStart
public static int zwhatChangedSetStart(int[] ifltab, HecDssCatalog dssCatalog, String pathnameWithWild, boolean useCRC) Sets the starting catalog for comparison against a later catalog, optionally retrieving the catalog- Parameters:
ifltab
- The file table of the DSS filedssCatalog
- Receives the starting catalog if not null- null - catalog is stored internally. Only one later comparison can be made, and only before the DSS file is closed
- non-null - catalog is returned. May be passed to
zwhatChangedCompare(int[], HecDssCatalog, HecDssCatalog, String, boolean)
multiple times for differential comparisons, even after the DSS file is closed and reopned.
pathnameWithWild
- The pathname mask to catalog. The wildcard character is '*' and may only be specified at the start and/or end of individual pathname parts (or be the entire pathname part). May be null to catalog all recordsuseCRC
- Specifies how the comparison will be performed- true - record cyclic redundancy checks will be compared
- true - record last written times will be compared
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
- See Also:
-
zwhatChanged
Retrieves a catalog of all records changed since the last call to zwhatChangedSetStart(). The DSS file must not have been closed in between or the internal catalog will be lost. Record CRC values will be compared if the useCRC parameter to zwhatChangedSetStart() was set to true; otherwise record last written times will be compared- Parameters:
ifltab
- The file table of the DSS filecatalog
- Receives the catalog of records changed- Returns:
- The number of records changed on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zwhatChangedCompare
public static int zwhatChangedCompare(int[] ifltab, HecDssCatalog dssCatalogBefore, HecDssCatalog dssCatalogChanged, String pathWithWild, boolean boolUseCRC) Retrieves a catalog of records changed since the last call to zwhatChangedSetStart(). The catalog may be a subset of all records changed- Parameters:
ifltab
- The file table of the DSS filedssCatalogBefore
- The catalog to compare againstdssCatalogChanged
- Receives the catalog of changed recordspathWithWild
- The pathname mask of changed records to catalog. The wildcard character is '*' and may only be specified at the start and/or end of individual pathname parts (or be the entire pathname part). May be null to catalog all changed recordsboolUseCRC
- Specifies how the comparison will be performed- true - record cyclic redundancy checks will be compared, but only if dssCatalogBefore.crcValues is not null (i.e., if the useCRC parameter to zwhatChangedSetStart() was set to true)
- false - record last written times will be compared
- Returns:
- The number of records changes cataloged on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zerrorCheck
public static int zerrorCheck()Retrieves the severity of the last error encountered- Returns:
- The severity
- 0 - NO ERROR
- 1 - INFORMATION
- 2 - WARNING
- 3 - INVALID_ARGUMENT
- 4 - WARNING_NO_WRITE_ACCESS
- 5 - WARNING_NO_FILE_ACCESS
- 6 - WRITE_ERROR
- 7 - READ_ERROR
- 8 - CORRUPT_FILE
- 9 - MEMORY_ERROR
-
zerrorGet
Retrieves the details of the last error encountered- Parameters:
errorMessage
- Receives the error details- Returns:
- The error type
- 0 - ERROR_TYPE_NONE
- 1 - ERROR_TYPE_WARNING
- 2 - ERROR_TYPE_ACCESS
- 3 - ERROR_TYPE_FILE
- 4 - ERROR_TYPE_MEMORY
-
zerrorClear
public static int zerrorClear()Clears the last error encountered- Returns:
- Not used (undefined)
-
ztsGetStandardInterval
@Deprecated public static void ztsGetStandardInterval(int dssVersion, int[] interval, String ePart, int[] status) Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead. -
ztsGetStandardInterval7
Deprecated.useDSSPathname.getTSIntervalSeconds(String, int[])
instead. -
zrecInfo
public static int zrecInfo(int[] ifltab, HecDSSRecordInfo recordInfo, String startDate, String startTime, String endDate, String endTime) Retrieves information about a record- Parameters:
ifltab
- File table for DSS filerecordInfo
- Receives the record information. The following fields must be set on input- .pathname - the pathname of the record
- .dssFilename - DSS file name
startDate
- The date of the start of the time window for time series records. Must be in a format that can be used byHecTime.set(String, String)
startTime
- The time of the start of the time window for time series records. Must be in a format that can be used byHecTime.set(String, String)
endDate
- The date of the end of the time window for time series records. Must be in a format that can be used byHecTime.set(String, String)
endTime
- The time of the end of the time window for time series records. Must be in a format that can be used byHecTime.set(String, String)
- Returns:
- The status
- 0 - success
- -1 - record not found
-
zsetMessageLevel
public static void zsetMessageLevel(int functionGroupID, int levelID) Sets the message level for a specified function group- Parameters:
functionGroupID
- The function group to set message level for- MESS_METHOD_GLOBAL_ID (All DSS 7 levels + DSS 6 level)
- MESS_METHOD_GENERAL_ID (All DSS 7 levels but not DSS 6 level)
- MESS_METHOD_GET_ID
- MESS_METHOD_PUT_ID
- MESS_METHOD_READ_ID
- MESS_METHOD_WRITE_ID
- MESS_METHOD_PERM_ID
- MESS_METHOD_OPEN_ID
- MESS_METHOD_CHECK_ID
- MESS_METHOD_LOCKING_ID
- MESS_METHOD_TS_READ_ID
- MESS_METHOD_TS_WRITE_ID
- MESS_METHOD_ALIAS_ID
- MESS_METHOD_COPY_ID
- MESS_METHOD_UTILITY_ID
- MESS_METHOD_CATALOG_ID
- MESS_METHOD_FILE_CHECK_ID
- MESS_METHOD_JNI_ID
- MESS_METHOD_UNDEFINED_ID
levelID
- The message level- MESS_LEVEL_NONE
- MESS_LEVEL_CRITICAL
- MESS_LEVEL_TERSE
- MESS_LEVEL_GENERAL
- MESS_LEVEL_USER_DIAG
- MESS_LEVEL_INTERNAL_DIAG_1
- MESS_LEVEL_INTERNAL_DIAG_2
-
zgetMessageLevel
public static int zgetMessageLevel(int functionGroupID) Retrieves the message level for a specified function group- Parameters:
functionGroupID
- The function group to retrieve the message level for- MESS_METHOD_GLOBAL_ID (All DSS 7 levels + DSS 6 level)
- MESS_METHOD_GENERAL_ID (All DSS 7 levels but not DSS 6 level)
- MESS_METHOD_GET_ID
- MESS_METHOD_PUT_ID
- MESS_METHOD_READ_ID
- MESS_METHOD_WRITE_ID
- MESS_METHOD_PERM_ID
- MESS_METHOD_OPEN_ID
- MESS_METHOD_CHECK_ID
- MESS_METHOD_LOCKING_ID
- MESS_METHOD_TS_READ_ID
- MESS_METHOD_TS_WRITE_ID
- MESS_METHOD_ALIAS_ID
- MESS_METHOD_COPY_ID
- MESS_METHOD_UTILITY_ID
- MESS_METHOD_CATALOG_ID
- MESS_METHOD_FILE_CHECK_ID
- MESS_METHOD_JNI_ID
- MESS_METHOD_UNDEFINED_ID
- Returns:
- The current message level
- MESS_LEVEL_NONE
- MESS_LEVEL_CRITICAL
- MESS_LEVEL_TERSE
- MESS_LEVEL_GENERAL
- MESS_LEVEL_USER_DIAG
- MESS_LEVEL_INTERNAL_DIAG_1
- MESS_LEVEL_INTERNAL_DIAG_2
-
i4toi8
public static long i4toi8(int int4a, int int4b) Converts two 4-byte integers to an 8-byte integer in little endian mode- Parameters:
int4a
- The first 4-byte integerint4b
- The second 4-byte integer- Returns:
- The resulting 8-byte integer
-
i8toi4
public static void i8toi4(long integer8, int[] int4a, int[] int4b) Converts an 8-byte integer to two 4-byte integers in little endian mode- Parameters:
integer8
- The 8 byte integerint4a
- The first resulting 4-byte integerint4b
- The second resulting 4-byte integer
-
zarrayRetrieve
Retrieves an array record- Parameters:
ifltab
- The file table of the DSS filearrayContainer
- Receives the array data. Set the .fullName field withDataContainer.setName(String)
on input- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zarrayStore
Stores an array record- Parameters:
ifltab
- The file table of the DSS filearrayContainer
- The array data to store- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zconvertVersion
Converts a DSS 6 file to a DSS 7 file or vice versa- Parameters:
nameFrom
- The source file namenameTo
- The destination file name- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zcatalogFile
public static int zcatalogFile(int[] ifltab, String catalogName, boolean sorted, String pathWithWildChars) Generates a catalog file for a DSS file- Parameters:
ifltab
- The file table for the DSS filecatalogName
- The name of the catalog filesorted
- Whether to sort the pathnames in ABCFED orderpathWithWildChars
- Specifies a subset of pathnames to catalog- null - catalog the entire file
- non-null - the subset to catalog. This is a pathname that has the
'*' character specified at the beginning and/or end of any pathname part(s)
- "*abc" - matches part name that ends with abc
- "abc*" - matches part name that starts with abc
- "*abc*" - matches part name that contains abc
- "abc" - matches part name that is exactly abc
- "*" - matches any part name
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zgetCatalogSortAddresses
public static int zgetCatalogSortAddresses(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Reads the list of addresses to sorted pathnames (if it exists) in order to presort the catalog- Parameters:
ifltab
- The file table of the DSS filesortAddresses
- Receives the pathname bin addresses of the full sorted list of pathnamessortAddressesLen
- The number of elements in sortAddresses- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zsetCatalogSortAddresses
public static int zsetCatalogSortAddresses(int[] ifltab, long[] sortAddresses, int sortAddressesLen) Writes the list of addresses to sorted pathnames after a catalog sort in order to presort the next catalog- Parameters:
ifltab
- The file table of the DSS filesortAddresses
- The pathname bin addresses of the full sorted list of pathnamessortAddressesLen
- The number of elements in sortAddresses- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zgetProgress
public static int zgetProgress(int handle) Retrieves the current item number of an in-progress multi-item operation. Retrieves the same value aszquery(String, stringContainer, int[])
with the parameter set to "CURR". The total number of items can be retrieved withzquery(String, stringContainer, int[])
with the parameter set to "TOTA"- Parameters:
handle
- Must be set to 0- Returns:
- The current item number or -1 if handle is not 0
- See Also:
-
zgetProgress
public static int zgetProgress()Retrieves the current item number of an in-progress multi-item operation. Retrieves the same value aszquery(String, stringContainer, int[])
with the parameter set to "CURR". The total number of items can be retrieved withzquery(String, stringContainer, int[])
with the parameter set to "TOTA"- Returns:
- The current item number or -1 if handle is not 0
- See Also:
-
zsetInterrupt
public static void zsetInterrupt(int handle) Sets whether an in-progress multi-item operation is marked as interrupted. Equivalent tozset(String, String, int)
with the parameter set to "INTE"- Parameters:
handle
- Must be set to 0- See Also:
-
zsetInterrupt
public static void zsetInterrupt()Sets whether an in-progress multi-item operation is marked as interrupted. Equivalent tozset(String, String, int)
with the parameter set to "INTE"- See Also:
-
zfileAccessInfo
public static int zfileAccessInfo(int[] ifltab, int[] accessMode, int[] numberAccesses, int[] numberWriting, int[] pidsArray, int[] modesArray, int arraySize, int[] numberPids) Gets information about other processes writing to the file- Parameters:
ifltab
- The file table of the DSS fileaccessMode
- Element 0 receives the current access mode for this process- 0 - GENERAL - no errors if write without permission
- 1 - READ - read-only
- 2 - MULTI-USER - full read/write (slow but safe)
- 3 - SINGLE-USER ADVISORY (default) - fast read/write, receives notification if another process wants access
- 4 - EXCLUSIVE - single user only, used for squeezing
numberAccesses
- Element 0 receives the number of processes accessing the file, including this processnumberWriting
- Element 0 receives the number of processes writing to the file, including this processpidsArray
- Receives the process IDs of other processes writing to the file, up to arraySize elements. Must have at lease arraySize elementsmodesArray
- Receives the access modes of other processes writing to the file, up to arraySize elements. Must have at lease arraySize elements. Each element corresponds to the same element in pidsArrayarraySize
- The maximum number of pids and modes to retrieve. pidsArray and modesArray must have at least this many elementsnumberPids
- The number of pids and modes retrieved (%lt;= arraySize)- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zdebug7
public static void zdebug7(int[] value, long[] lvalue8, int[] value4a, int[] value4b, stringContainer cstringDouble, stringContainer cstringReala, stringContainer cstringRealb, stringContainer cstringValue, int[] ibytes) Converts a 4-byte or 8-byte integer into various data formats- Parameters:
value
- Element 0 is the integer value to convert. Normally this is a 4-byte integer (one element). However, due to the way the value is handled in the JNI and native library, this can be an 8-byte integer (two elements). Since Java doesn't allow casting between types, specifying an 8-byte integer requires using a ByteBuffer to set the two elements from the 8-byte value.lvalue8
- Element 0 receives the value as an 8-byte integervalue4a
- Element 0 receives the first of two 4-byte integers converted from the 8-byte integervalue4b
- Element 0 receives the second of two 4-byte integers converted from the 8-byte integercstringDouble
- Receives the text version of the value as an 8-byte floating point value.cstringReala
- Receives the first of two 4-byte floating point values converted from the 8-byte integercstringRealb
- Receives the second of two 4-byte floating point values converted from the 8-byte integercstringValue
- Receives the text version of the valueibytes
- Receives the value as a byte array. Must contain at least 8 elements even if value is a 4-byte integer
-
zerrorCode
public static int zerrorCode(int[] ifltab) Retrieves the last error encountered for the DSS file- Parameters:
ifltab
- The file table of the DSS file- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zfileError
public static int zfileError(int[] ifltab) Retrieves the greatest severity of errors encountered for the DSS file- Parameters:
ifltab
- The file table of the DSS file- 0 - NO ERROR
- 1 - INFORMATION
- 2 - WARNING
- 3 - INVALID_ARGUMENT
- 4 - WARNING_NO_WRITE_ACCESS
- 5 - WARNING_NO_FILE_ACCESS
- 6 - WRITE_ERROR
- 7 - READ_ERROR
- 8 - CORRUPT_FILE
- 9 - MEMORY_ERROR
-
zcheckFile
public static int zcheckFile(int[] ifltab) Exhaustively checks DSS file integrity. Resource intensive- Parameters:
ifltab
- The file table of the DSS file- Returns:
- 0 - no errors found
- > 0 - number of non-severe errors found
- < 0 - error code for severe error found. Can be decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zgetArraySizes
@Deprecated public static int zgetArraySizes(int[] ifltab, String pathname, int[] lengthDescriptionHeader, int[] lengthInternalHeader, int[] lengthCompressionHeader, int[] lengthUserHeader, int[] numberValues, int[] logicalNumberValues, int[] lengthDataArray, int[] lengthDataArray2) Deprecated.UsezreadRawRecord(int[], RawContainer, boolean)
instead -
zreadRawRecord
Reads raw record data- Parameters:
ifltab
- The file table of the DSS filerawContainer
- Receives the record datagetLengthsOnly
- Specifies whether to retrieve actual values- true - do not read values; only retrieve lengths required for arrays
- false - read values; arrays must be allocated to sufficient sizes
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zwriteRawRecord
Writes raw record data- Parameters:
ifltab
- The file table of the DSS filerawContainer
- The record data- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zlastWriteTime
Retrieves the last written time for a record in epoch milliseconds- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the record- Returns:
- The last written time of the record or 0 if the record is not found
-
zlastWriteTimeFile
public static long zlastWriteTimeFile(int[] ifltab) Retrieves the last written time for a DSS file- Parameters:
ifltab
- The file table of the DSS file- Returns:
- The last written time of the file or 0 on error
-
zinquire
Queries a file parameterUsage is as follows:
Parameter Version Description Return Value CAAL 7 Reports the number of catalog sort records added since last sort The number of catalog sort records added since last sort CALL 7 Reports the catalog sort list length The catalog sort list length CATS 7 Reports the catalog sort list status - 0 - no sort list available
- 1 - no updates since last sort (ready to use)
- 2 - some updates since last sort (further sorting required)
- 3 - significant updates since last sort (complete re-sort required)
COLL 6 or 7 - DSS 6 - reports whether the file contains collection records
- DSS 7 - reports the number of collection records in the file
- DSS 6 - 0 or 1
- DSS 7 - the number of collection records in the file
CURR 7 Reports the current item number of an in-progress multi-item operation The current item number DEAD 6 or 7 Reports percentage of file that is dead space Dead space percentage DELE 6 or 7 Reports number of deleted records in file Number of deleted records DSIZ 7 Reports the dead space size in words The dead space size ERRO 6 or 7 Reports the current error status Error number EXPA 7 Reports the number of expansions The number of expansions FSIZ 6 or 7 Reports the file size in words The file size in words FTIM 7 Reports the last written time of the file in epoch milliseconds The last written time in epoch milliseconds FVER 6 or 7 Reports the version of the DSS file Numeric version of the file HAND or UNIT 6 or 7 - DSS 6 - reports the Fortran unit number or file handle of DSS File (see "HAND" parameter in
zset(String, String, int)
) - DSS 7 - Reports the file handle of DSS file
The file handle or unit number MAXA 7 Reports the length of the longest A part The length of the longest A part MAXB 7 Reports the length of the longest B part The length of the longest B part MAXC 7 Reports the length of the longest C part The length of the longest C part MAXD 7 Reports the length of the longest D part The length of the longest D part MAXE 7 Reports the length of the longest E part The length of the longest E part MAXF 7 Reports the length of the longest F part The length of the longest F part MAXP 7 Reports the maximum number of pathnames expected The maximum number of pathnames expected MHAN 7 Reports the message output handle The handle of the message output device MLVL or MLEV 6 or 7 Reports the global message level - 0 - None
- 1 - Critical
- 2 - Terse
- 4 - General
- 5 - User Diagnostics
- 11 - Internal Diagnostic
- 13 - Internal Debug
MTIM 7 Reports the last time this process wrote to the file in epoch milliseconds The last time this process wrote to the file in epoch milliseconds MULT 6 or 7 Reports Whether the DSS file is in multi user mode - 0 - GENERAL. No error on write without permission
- 1 - READ. Read only
- 2 - MULTI-USER. Read/write with multi-user (slow) but necessary for multiple processes writing to same file
- 3 - ADVISORY (default). Read/write with single-user but can be notified if another process wants to write
- 4 - EXCLUSIVE. Prevents access from other processes. Used for squeezing
MUNI 6 or 7 Reports Fortran unit number of message output The unit number NALI 7 Reports the number of alias records in the DSS file The number of aliased records NDAT 7 Reports the logical number of data elements to store in the info area The logical number of data elements NERR 7 Reports the number errors encountered in an in-progress multi-item operation The number of errors encountered NOTH 7 Reports the number of other processes accessing the file The number of processes NPRI 7 Reports the number of primary (non-alias) records in the DSS file The number of primary (non-alias) records NREC 6 or 7 Reports the total number (primary and alias) records in the DSS file The total number (primary and alias) records OTHE 7 Reports whether other processes are accessing the file 0 if no other processes accessing file, otherwise non-zero PREC 6 Reports the data precision for data compression of the last record read - -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
READ 6 or 7 Reports whether access to file is read only - DSS 6
- 0 - file is not in read only state
- 1 - file is in read only state
- DSS 7
- 0 - file is closed
- 1 - file is in read only state
- 2 - file is in read write state
RECL 7 Reports the reclaim space level The reclaim space level RENA 7 Reports number of renamed records in file Number of renamed records SIZE 6 or 7 Reports the file size in KB The file size SQUE 6 or 7 Reports whether file needs to be squeezed 0 or 1 STAT 6 or 7 - DSS 6 - reports the status of last operation
- DSS 7 - reports the severity of last operation
- DSS 6 - the status
- DSS 7 - the severity
- 0 - SUCCESS
- 1 - INFORMATION
- 2 - WARNING
- 3 - INVALID_ARGUMENT
- 4 - WARNING_NO_WRITE_ACCESS
- 5 - WARNING_NO_FILE_ACCESS
- 6 - WRITE_ERROR
- 7 - READ_ERROR
- 8 - CORRUPT_FILE
- 9 - MEMORY_ERROR
TOTA 7 Reports the total number of items of an in-progress multi-item operation The number total number of items WRIT 7 Reports whether the DSS file is in opened in a writable mode 0 or 1 - Parameters:
ifltab
- The file table of the DSS fileparameter
- The parameter to inquire about- Returns:
- The value as described above
- See Also:
-
zgetRecordBasics
Retrieves basic information about a record- Parameters:
ifltab
- The file table of the DSS filerecordBasics
- Receives the record information. Use new object created withHecDSSRecordBasics(String)
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zaliasAdd
Adds an alias to a primary pathname- Parameters:
ifltab
- The file table of the DSS fileprimaryPathname
- The pathname to add an alias foraliasPathname
- The alias- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zaliasGetPrimary
public static int zaliasGetPrimary(int[] ifltab, String aliasPathname, stringContainer primaryPathname) Retrieve the primary pathname for an alias pathname- Parameters:
ifltab
- The file table of the DSS filealiasPathname
- The alias pathname to retrieve the primary pathname forprimaryPathname
- Receives the primary pathname- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zaliasRemove
Removes an alias pathname or all aliase pathnames for a primary pathname- Parameters:
ifltab
- The file table of the DSS filepathname
- The alias pathname to remove. If removeAll == true this may be the primary pathname or any of its aliasesremoveAll
- Specifies whether to remove all alias pathnames- Returns:
- removeAll == true
- >= 0 - the number of aliases removed
- < 0 - an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
- removeAll == false - 0 on success, otherwise an error code that can decoded with find
zerrorDecode(int, int[], int[], int[], int[])
- removeAll == true
-
zaliasList
Retrieves all alias pathnames for a specified pathname- Parameters:
ifltab
- The file table of the DSS filealiasPathname
- The pathname to retrieve the aliases for. May be an alias pathname or a primary pathnamepathnameList
- Receives the list of pathnames. The primary pathname will be at .stringArray[0], if it exists- Returns:
- The length of pathnameLIst.stringArray. Will be 0 if no primary pathname was found
-
zlocationRetrieve
Retrieves a location record- Parameters:
ifltab
- The file table of the DSS filedataContainer
- Receives the location record. The .fullName field must be set on input and be of the form- A part - the A part of the location
- B part - the B part of the location
- C part - "Location Info"
- D part - empty
- E part - empty
- F part - empty
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zlocationStore
Stores a location record- Parameters:
ifltab
- The file table of the DSS filedataContainer
- The location record. The .fullName field must be of the form- A part - the A part of the location
- B part - the B part of the location
- C part - "Location Info"
- D part - empty
- E part - empty
- F part - empty
- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zgetDssVersion
Deprecated.UsezgetDssFileVersion(int[])
instead -
zgetDssFileVersion
public static int zgetDssFileVersion(int[] ifltab) Retrieves the major version (i.e., 6 or 7) of a DSS file- Parameters:
ifltab
- The file table of the DSS file- Returns:
- The major version
-
zgetFileVersion
Retrieves the major version (i.e., 6 or 7) of a DSS file- Parameters:
dssFileName
- The name of the DSS file- Returns:
- The major version
-
juldat
Deprecated.UseHecTime.juldat(int, int)
instead. -
datjul
Deprecated.UseHecTime.datjul(String, intContainer, intContainer)
instead. -
jliymd
Deprecated.UseHecTime.jliymd(int, int[])
instead. -
iymdjl
Deprecated.UseHecTime.iymdjl(int, int, int)
instead. -
idaywk
Deprecated.UseHecTime.idaywk(int)
instead. -
nopers
@Deprecated public static int nopers(int interval, int julianStart, int minutesStart, int julianEnd, int minutesEnd) Deprecated.UseHecTime.nopers(int, int, int, int, int)
instead. -
inctim
@Deprecated public static void inctim(int interval, int numberPeriods, int julianStart, int minutesStart, int[] julianEnd, int[] minutesEnd) Deprecated.UseHecTime.inctim(int, int, int, int, int[], int[])
instead. -
m2ihm
Deprecated.UseHecTime.m2ihm(int, stringContainer)
instead. -
ihm2m
Deprecated.UseHecTime.ihm2m(String)
instead. -
systim
Deprecated.UseHecTime.systim(int[], int[], boolean, String)
instead. -
getime
@Deprecated public static void getime(String userLine, int[] juls, int[] istime, int[] jule, int[] ietime, int[] status) Deprecated. -
getProcessName
Retrieves the process name associated with a process ID (Windows OS only)- Parameters:
processID
- The process ID- Returns:
- The process name if found, otherwise "No such process". On non-Windows, always "".
-
decodeHollerith
Deprecated.Do NOT use for anything other that decoding strings encoded by legacy applications!Pure Java method to decode Hollerith integers into a String- Parameters:
ints
- The integers that are the Hollerith-encoded string- Returns:
- The decoded string
-
encodeHollerith
Deprecated.Do NOT use this for anything except for encoding strings that will be decoded by legacy applications!Pure Java method to encode a string into Hollerith integers- Parameters:
s
- The string to encodeints
- The integers to encode into
-
holString
Deprecated.UsedecodeHollerith(int[])
instead.Converts an int array to a Java String- Parameters:
hol
- The integer arraylength
- The number of characters to convert. Must have at least (length-1)/4+1 elements- Returns:
- The resulting String
- See Also:
-
holString
Deprecated.UsedecodeHollerith(int[])
instead.Converts a float array to a Java String- Parameters:
hol
- The float arraylength
- The number of characters to convert. Must have at least (length-1)/4+1 elements- Returns:
- The resulting String
- See Also:
-
StringHol
Deprecated.UseencodeHollerith(String, int[])
insteadConverts a Java String to a float array- Parameters:
str
- The String to convertlength
- The number of characters to converthol
- The resulting float array. Must have at least (length-1)/4+1 elements- See Also:
-
StringHol
Deprecated.UseencodeHollerith(String, int[])
insteadConverts a Java String to a int array- Parameters:
str
- The String to convertlength
- The number of characters to converthol
- The resulting float array. Must have at least (length-1)/4+1 elements- See Also:
-
fortranOpen
Uses Fortran to open a file- Parameters:
filename
- The file nameunit
- The Fortran unit number of the file- Returns:
- The status (value of the IOSTAT variable in the Fortran call)
-
fortranClose
public static int fortranClose(int unit) Uses Fortran to close a file- Parameters:
unit
- The Fortran unit number of the file- Returns:
- The status (value of the IOSTAT variable in the Fortran call)
-
fortranWrite
Uses Fortran to write a Java String to a file- Parameters:
string
- The string to writeunit
- The Fortran unit number of the file- Returns:
- The status (value of the IOSTAT variable in the Fortran call)
-
fortranFlush
public static int fortranFlush(int unit) Uses Fortran to flush file buffer to disk (Windows OS only)- Parameters:
unit
- The Fortran unit number of the file- Returns:
- Not used (never set in native code)
-
fortranWind
public static void fortranWind(int unit) Uses Fortran to position a file at EOF- Parameters:
unit
- The Fortran unit number of the file
-
isUnitConnected
public static boolean isUnitConnected(int unit) Uses Fortran to determine whether a unit number is connected to file- Parameters:
unit
- The Fortran unit number- Returns:
- Whether the unit is connected
-
closescratchdsscatalog
public static void closescratchdsscatalog(int[] catalogUnit) Closes the scratch DSS catalog file- Parameters:
catalogUnit
- The Fortran unit of the scratch catalog file to close
-
getEPartFromInterval
Deprecated. -
makedsscatalog
public static void makedsscatalog(String dssFileName, int[] ifltab, String catalogInstructions, int[] numberFound, int[] catalogUnit) Creates a scratch catalog file from the instructions in catalogInstructions- Parameters:
dssFileName
- The name of the DSS File to catalogifltab
- The file table of the DSS file to catalogcatalogInstructions
- The catalog creation instructions. Can include:- NEW - forces creation of new catalog
- FULL - forces creation of a full catalog vs an abbreviated one
- COND - creates a condensed catalog
- A=..., B=... - specifies which pathnames to catalog
numberFound
- The number of records found that match the instructionscatalogUnit
- The Fortran unit of the catalog file
-
squeezeDSS
Squeezes a DSS file- Parameters:
dssFileName
- The name of the DSS file to squeeze- Returns:
- 0 on success, otherwise non-zero
-
zbegdt
@Deprecated public static void zbegdt(int julian, int interval, int[] year, int[] month, int[] day, int[] block, int DSSVersion) Deprecated. -
zckmul
public static void zckmul(int[] ifltab) Switches from advisory single-user mode to multi-user mode if another process has requested write access to the file- Parameters:
ifltab
- The file table of the DSS file
-
zflush
public static void zflush(int[] ifltab, int forceFlush) Flushes DSS output buffer to disk and DSS message buffer to output device (DSS 7 only)- Parameters:
ifltab
- The file table of the DSS fileforceFlush
-- 0 - flush to disk only if new writes since last flush
- non-zero - flush to disk without checking for new writes
-
zcheckAccessReset
public static int zcheckAccessReset(int[] ifltab, boolean forceReopen, int quiescentTimeMills) Resets a DSS file to advisory single-user mode by closing and re-opening it (DSS 7 only). Should be called either at the end of a group of writes, or on a thread that calls it not more often than once every 5 seconds.- Parameters:
ifltab
- The file table of the DSS fileforceReopen
-- 0 - resets the file only if it currently in multi-user mode and has not been written to using this file table for at least the number milliseconds specified in quiescentTimeMills.
- non-zero - resets the file regardless of any considerations
quiescentTimeMills
- The minimum number of milliseconds since the last write using this file table before the file will be reset if forceReopen is 0- Returns:
- 0 if no error or if called on a DSS 6 file, non-zero otherwise
-
zclose
public static void zclose(int[] ifltab) Closes a DSS file- Parameters:
ifltab
- The file table of the DSS file to close
-
zcheck
public static void zcheck(int[] ifltab, String pathname, int[] numberHeader, int[] numberData, int[] exists) Determines whether a pathname exists and the size of the header and data areas if it does.- Parameters:
ifltab
- The file table of the DSS file to checkpathname
- The pathname to search fornumberHeader
- Element 0 receives he size of the header areanumberData
- Element 0 receives the size of the data areaexists
- Element 0 receives 0 if pathname doesn't exist, otherwise non-zero
-
zckpnb
public static void zckpnb(int[] ifltab, int[] nerror) Checks a DSS file for structural errors.- Parameters:
ifltab
- The file table of the DSS file to checknerror
- Element 0 receives 0 if no errors, otherwise non-zero
-
zcklnk
public static void zcklnk(int[] ifltab, int[] nerror) Checks a DSS file's links for possible errors.- Parameters:
ifltab
- The file table of the DSS file to checknerror
- Element 0 receives 0 if no errors, otherwise non-zero
-
zckpat
public static void zckpat(int[] ifltab, int[] nerror) Checks a DSS file's pathnames for possible errors.- Parameters:
ifltab
- The file table of the DSS file to checknerror
- Element 0 receives 0 if no errors, otherwise non-zero
-
zcolist
Returns a list of collection pathnames one at a time (DSS 6 only)- Parameters:
ifltab
- The file table of the file to usefilePos
-- Input: - set element 0 to 0 to begin list retrieval, otherwise ignore
- Output: - element 0 receives -1 when list is exhausted, otherwise ignore
seedPathname
- A sample pathname for the collection- Returns:
- The first or next pathname in the collection
-
zcorec
@Deprecated public static int zcorec(int[] ifltabFrom, int[] ifltabTo, String pathnameFrom, String pathnameTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated.UsezcopyRecord(int[], int[], String, String)
insteadCopies a record to another pathname in the same DSS file or to a different DSS file with same or different pathname- Parameters:
ifltabFrom
- The file table of the source DSS fileifltabTo
- The file table of the destination DSS file. May be the same as ifltabFrom if pathnameFrom and pathnameTo are not the samepathnameFrom
- The source pathnamepathnameTo
- The destination pathname. Must differ from pathnameFrom if copying in the same DSS filebuffer1
- Not usedbuffer1Size
- Not usedbuffer2
- Not usedbuffer2Size
- Not used- Returns:
- 0 for success, otherwise non-zero
-
zcopyRecord
public static int zcopyRecord(int[] ifltabFrom, int[] ifltabTo, String pathnameFrom, String pathnameTo) Copies a record to another pathname in the same DSS file or to a different DSS file with same or different pathname- Parameters:
ifltabFrom
- The file table of the source DSS fileifltabTo
- The file table of the destination DSS file. May be the same as ifltabFrom if pathnameFrom and pathnameTo are not the samepathnameFrom
- The source pathnamepathnameTo
- The destination pathname. Must differ from pathnameFrom if copying in the same DSS file- Returns:
- 0 for success, otherwise non-zero
-
zcofil
@Deprecated public static int zcofil(int[] ifltabFrom, int[] ifltabTo, int[] buffer1, int buffer1Size, int[] buffer2, int buffer2Size) Deprecated.UsezcopyFile(int[], int[])
insteadCopies one DSS file into another DSS file- Parameters:
ifltabFrom
- The file table of the source DSS fileifltabTo
- The file table of the destination DSS filebuffer1
- Not usedbuffer1Size
- Not usedbuffer2
- Not usedbuffer2Size
- Not used- Returns:
- 0 for sucess, otherwise non-zero
-
zcopyFile
public static int zcopyFile(int[] ifltabFrom, int[] ifltabTo) Copies one DSS file into another DSS file- Parameters:
ifltabFrom
- The file table of the source DSS fileifltabTo
- The file table of the destination DSS file- Returns:
- 0 for sucess, otherwise non-zero
-
zdelet
Marks a record as deleted in a DSS file. Record can be undeleted until the file is squeezed- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the record to delete- Returns:
- 0 on success, otherwise an error code that can decoded with
zerrorDecode(int, int[], int[], int[], int[])
-
zdcinf
public static void zdcinf(int[] method, float[] baseValue, int[] baseSet, int[] deltaSize, int[] precision, int[] status) Retrieves data compression information (DSS 6 only)- Parameters:
method
- Element 0 receives the data compression method used:- 0 - no compression method
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
baseValue
- (Delta value method only) Element 0 receives the base value used if baseSet[0] is non-zerobaseSet
- (Delta value method only) Element 0 receives a non-zero value if the base value used is non-zerodeltaSize
- (Delta value method only) Element 0 receives the number of bytes used per valueprecision
- (Delta value method only) Element 0 receives the base 10 exponent used for comparison (e.g., -2 = .01)- -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
status
- Element 0 receives 0 for success, otherwise non-zero
-
zdtype
public static void zdtype(int[] ifltab, String pathname, int[] checkedNumber, int[] exists, stringContainer type, int[] dataType) Determines the type of record in a DSS fileData types returned are
Numeric Type Text Type Description 20 LOC Location 90 ARR Array (DSS 7 only) 91 Integer Array (DSS 6 only) 92 Float Array (DSS 6 only) 93 Double Array (DSS 6 Only) 100 RTS Regular-interval time series 101 RTPA Regular-interval time series pattern 102 RTPR Regular-interval time series profile 105 RTD Regular-interval time series doubles 107 RTPD Regular-interval time series double profile 110 ITS Irregular-interval time series 111 ITPA Irregular-interval time series pattern 112 ITPR Irregular-interval time series profile 115 ITD Irregular-interval time series doubles 117 ITPD Irregular-interval time series double profile 200 PD Paired Data 205 PDD Paired Data doubles 300 TXT Text Data 310 TT Text Table 400 GUT Gridded - Undefined grid with time 401 GU Gridded - Undefined grid 410 GHT Gridded - HRAP grid with time reference 411 GH Gridded - HRAP grid 420 GAT Gridded - Albers with time reference 421 GA Gridded - Albers 430 GST Gridded - SHG with time reference 431 GS Gridded - SHG 450 Spatial - TIN (DSS 7 only) 600 Generic File 610 Image - Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname to check the type ofcheckedNumber
- Element 0 receives the data length of the recordexists
- Element 0 receives 0 if the record doesn't exist in the DSS file, otherwise non-zerotype
- Receives the text data type of the recorddataType
- Element 0 receives the numeric data type of the record
-
zdblook
public static void zdblook(int[] ifltab, int address, int numberWords) Dumps arbitrary data from a DSS file to the message output- Parameters:
ifltab
- The file table of the DSS fileaddress
- The starting address in the DSS file of the data to dump in 4-byte words (should be 8-byte words in DSS 7!)numberWords
- The length of the data to dump in 4-byte words
-
zdbmod
public static void zdbmod(int[] ifltab, long address, long value, String characterValue, int useCharacterValue) Modifies a single word in a DSS file- Parameters:
ifltab
- The file table of the DSS fileaddress
- The address of the word to modify in 4-byte words for DSS 6 and 8-byte words for DSS 7value
- The value to set the word to if useCharacterValue is 0characterValue
- The text value to set the word to if useCharacterValue is non-zerouseCharacterValue
-- 0 - use value to modify the word
- non-zero - use characterValue to modify the word
-
zdebug1
public static void zdebug1(int value4, long[] value8, stringContainer crealValue, stringContainer cstringValue, int[] ibytes) Converts a 4-byte integer to various other types- Parameters:
value4
- The input value to convertvalue8
- Element 0 receives the value as an 8-byte integercrealValue
- Receives the value as text representation of a floating point valuecstringValue
- Receives the value as a text valueibytes
- Receives the value as an array of 4 byte values
-
zfilst
public static void zfilst(int[] ifltab) Prints status information of a DSS file to the message output- Parameters:
ifltab
- The file table of the DSS file
-
zfname
Deprecated. -
zgetInterval
@Deprecated public static void zgetInterval(int[] interval, stringContainer ePart, int[] nvals, int[] status) Deprecated. -
zrecadd
Retrieves record address for debugging- Parameters:
ifltab
- The file table of the DSS filepath
- The pathname of the record to retrieve the address forinternals
- Element 0 receives the record address- Returns:
- 0 if record found, user has read/write/delete access
- 1 if record found, user has read/write access
- 2 if record found, user has read access
- 3 if record found, user has no access
- -1 if record not found
-
zgetrw
public static void zgetrw(long address, int[] record, int[] word) Retrieves a record and a word from a specified address- Parameters:
address
- The address to retrieve fromrecord
- Element 0 receives the recordword
- Element 0 receives the word
-
zgintl
Deprecated. -
zgpnp
@Deprecated public static int zgpnp(String inputLine, stringContainer aPart, stringContainer bPart, stringContainer cPart, stringContainer dPart, stringContainer ePart, stringContainer fPart) -
zgtrec
public static void zgtrec(int[] ifltab, long address, int numberWords, int[] array) Reads a logical record from a DSS file into an integer buffer- Parameters:
ifltab
- The file table of the DSS fileaddress
- The address of the record to readnumberWords
- The number of ints (4-byte words) to readarray
- The buffer to read the record into
-
zget
public static void zget(int[] ifltab, long address, int numberArray, long[] array) Reads a logical record from a DSS file into a long buffer- Parameters:
ifltab
- The file table of the DSS fileaddress
- The address of the record to readnumberArray
- The number of longs (8-byte words) to readarray
- The buffer to read the record into
-
zincbk
public static void zincbk(int[] block, int[] julian, int[] year, int[] month, int[] day) Increments a date by +/- 1 day, month, year, decade, or century.- Parameters:
block
- Specifies how to increment the date- 1 or -1 to increment/decrement date by 1 day
- 2 or -2 to increment/decrement date by 1 month
- 3 or -3 to increment/decrement date by 1 year
- 4 or -4 to increment/decrement date by 1 decade
- 5 or -5 to increment/decrement date by 1 century
julian
- Element 0 receives incremented julianyear
- Element 0 specifies starting year and receives incremented yearmonth
- Element 0 specifies starting month and receives incremented monthday
- Element 0 specifies starting day and receives incremented day
-
zinqir
Queries a file parameterUsage is as follows:
Parameter Version Description Alpha Number ABOR 6 Reports whether library will abort on fatal error "OFF" or "ON" 0 or 1 CLEA 6 Sets error state (use " and 0 to clear). Use ERRO and STAT to retrieve New error message New error number COLL 6 Reports whether the file contains collection records "OFF" or "ON" 0 or 1 CPDD 6 Reports and possibly fixes corrupted paired data records - INPUT
- 0 report only
- 1 try to fix
- OUTPUT
- >-1 number of records found and (maybe) fixed
- < 0 if error finding/fixing records
DEAD 6 Reports percentage of file that is dead space Dead space percentage DELE 6 Reports number of deleted records in file Number of deleted records ERRO 6 or 7 Reports the current error status Error message Error number FDAT 6 Reports the file creation date File creation date FLAG or QUAL 6 Reports whether last record read contained quality flags 0 or 1 FSIZ 6 Reports the file size in words File size in words FVER 6 or 7 Reports the version of the DSS file Text version of file Numeric version of the file HSIZ 6 Reports the size of the hash table - 1 - tiny
- 2 - extra small
- 3 - small
- 4 - medium
- 5 - large
- 6 - extra large
- 7 - huge
- 8 - extra huge
- 9 - super
LWDA 6 Reports the last written date of DSS file Last written date LWTI 6 Reports the last written time of DSS file Last written time MLVL or MLEV 6 Reports the global message level - 0 - none
- 1 - critical
- 2 - terse
- 4 - general
- 5 - user diagnostics
- 11 - internal diagnostic
- 13 - internal debug
MULT 6 Reports Whether the DSS file is in multi user mode 0 or 1 MUNI or MLFN 6 Reports Fortran unit number of message output The unit number NAME 6 or 7 Reports the name of the DSS file The file name NREC 6 Reports the number of records in the DSS file Number of records POIN 6 Reports the pointer efficiency of file in % The efficiency PREC 6 Reports the data precision for data compression of the last record read - -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
PROG 6 or 7 Reports the name of the program that wrote the last record read The program name QPRO 6 Reports whether protection bit in quality flags is observed "OFF" or "ON" 0 or 1 RDAT 6 Reports the last written date of last record read The last written date READ 6 or 7 Reports whether access to file is read only "OFF" or "ON" 0 or 1 REMO 6 Reports whether DSS file is remote "OFF" or "ON" 0 or 1 RTIM 6 Reports the last written time of last record read The last written time RVER 6 or 7 Reports the version number of last record read The version number SIZE 6 Reports the file size in KB The file size SQUE 6 Reports whether file needs to be squeezed 0 or 1 STAT 6 or 7 - DSS 6 - reports the status of last operation
- DSS 7 - reports the severity of last operation
- DSS 6 - the status
- DSS 7 - the severity
- 0 - SUCCESS
- 1 - INFORMATION
- 2 - WARNING
- 3 - INVALID_ARGUMENT
- 4 - WARNING_NO_WRITE_ACCESS
- 5 - WARNING_NO_FILE_ACCESS
- 6 - WRITE_ERROR
- 7 - READ_ERROR
- 8 - CORRUPT_FILE
- 9 - MEMORY_ERROR
SWAP 6 Reports whether the current hardware big endian (must swap words) "OFF" or "ON" 0 or 1 TABL 6 Reports the type of hash table "STABLE" or "DYNAMIC" 0 or 1 TAG 6 Reports the tag of last record read The tag TYPE 6 or 7 Reports the data type of last record read - LOC - location (DSS 7 only)
- ARR - array (DSS 7 only)
- RTS - regular-interval time series
- RTPA - regular-interval time series pattern
- RTPR - regular-interval time series profile
- RTD - regular-interval time series doubles
- RTPD - regular-interval time series double profile
- ITS - irregular-interval time series
- ITPA - irregular-interval time series pattern
- ITPR - irregular-interval time series profile
- ITD - irregular-interval time series doubles
- ITPD - irregular-interval time series double profile
- PD - paired data
- PDD - paired data doubles
- TXT - text data
- TT - text table
- UDF - other (DSS 7 only)
- UND - other (DSS 6 only)
- 20 - location
- 90 - array (DSS 7 only)
- 91 - integer array (DSS 6 only)
- 92 - float array (DSS 6 only)
- 93 - double array (DSS 6 Only)
- 100 - regular-interval time series
- 101 - regular-interval time series pattern
- 102 - regular-interval time series profile
- 105 - regular-interval time series doubles
- 107 - regular-interval time series double profile
- 110 - irregular-interval time series
- 111 - irregular-interval time series pattern
- 112 - irregular-interval time series profile
- 115 - irregular-interval time series doubles
- 117 - irregular-interval time series double profile
- 200 - paired data
- 205 - paired data doubles
- 300 - text data
- 310 - text table
- 400 - gridded - undefined grid with time
- 401 - gridded - undefined grid
- 410 - gridded - HRAP grid with time reference
- 411 - gridded - HRAP grid
- 420 - gridded - Albers with time reference
- 421 - gridded - Albers
- 430 - gridded - SHG with time reference
- 431 - gridded - SHG
- 450 - spatial - TIN (DSS 7 only)
- 600 - generic file
- 610 - image
UNIT 6 Reports the Fortran unit number of DSS File The unit number VDTM 6 or 7 Reports the default native vertical datum Text value of default native vertical datum: - "UNSET"
- "NAVD-88"
- "NGVD-29"
- "OTHER"
Numeric value of default native vertical datum: - UNSET
- NAVD-88
- NGVD-29
- OTHER
VDOW 7 Reports whether incoming native vertical datum can overwrite the location record's native vertical datum 0 or 1 VERS 6 or 7 Reports the library version Text version of the library Numeric version of the library ZONE 6 Reports the time zone of last record read The time zone The time zone offset (minutes or seconds?) 80CO 6 Reports whether in 80 column output mode "OFF" or "ON" 0 or 1 - Parameters:
ifltab
- The file table of the DSS fileparam
- The parameter to inquire aboutalpha
- Receives the text value of the parameter, if applicablenumber
- Element 0 receives the integer value of the parameter, if applicable- See Also:
- INPUT
-
zirbeg
@Deprecated public static void zirbeg(int[] ifltab, int julian, String ePart, int[] year, int[] month, int[] day, int[] block, int[] minutesInBlock, int[] incrementBlock) Deprecated. -
znextts
@Deprecated public static void znextts(int[] ifltab, String path, stringContainer next, int lforward, int[] status) Deprecated.UseDSSPathname.incrementTSPathname(String, int, int[])
instead. -
zndata
public static int zndata(int[] ifltab, long startTime, Vector<String> pathnames, Vector<Long> updateTimes, Vector<Integer> recordTypes) Retrieves information about records updated since a specified time. The number of items added to each non-null Vector passed in will be the same; i.e., if empty vectors are passed in the will each have the same number of items on return.- Parameters:
ifltab
- The file table of the DSS filestartTime
- The time to retrieve updated information from, in epoch millisecondspathnames
- Receives the pathnames of records updated since the specified time. Normally an empty Vector but may be null to not receive pathnames or non-empty to receive additional pathnames.updateTimes
- Receives the times each record was updated, in epoch milliseconds. Normally an empty Vector but may be null to not receive update times or non-empty to receive additional update times.recordTypes
- Receives the date type of each updated record. Normally an empty Vector but may be null to not receive data types or non-null to receive additional data types.Record Types:
Value Data Type 20 Location 90 Array (DSS 7 only) 91 Integer Array (DSS 6 only) 92 Float Array (DSS 6 only) 93 Double Array (DSS 6 Only) 100 Regular-interval time series 101 Regular-interval time series pattern 102 Regular-interval time series profile 105 Regular-interval time series doubles 107 Regular-interval time series double profile 110 Irregular-interval time series 111 Irregular-interval time series pattern 112 Irregular-interval time series profile 115 Irregular-interval time series doubles 117 Irregular-interval time series double profile 200 Paired Data 205 Paired Data doubles 300 Text Data 310 Text Table 400 Gridded - Undefined grid with time 401 Gridded - Undefined grid 410 Gridded - HRAP grid with time reference 411 Gridded - HRAP grid 420 Gridded - Albers with time reference 421 Gridded - Albers 430 Gridded - SHG with time reference 431 Gridded - SHG 450 Spatial - TIN (DSS 7 only) 600 Generic File 610 Image - Returns:
- 0 on success, otherwise non-zero (DSS 6 only)
-
zmaxpart
public static void zmaxpart(int[] ifltab, int[] maxpart) Retrieves the maximum part length for each pathname part- Parameters:
ifltab
- The file table of the DSS filemaxpart
- Receives the maximum part length for each part- Element 0 receives the A part maximum length
- Element 1 receives the B part maximum length
- Element 2 receives the C part maximum length
- Element 3 receives the D part maximum length
- Element 4 receives the E part maximum length
- Element 5 receives the F part maximum length
-
zofset
@Deprecated public static void zofset(int[] julian, int[] minutes, int interval, int flag, int[] offset) Deprecated. -
zopen
Opens a DSS file.- Parameters:
ifltab
- The file table for the DSS file. Must be an integer array of at least 800 elementsname
- The name of the DSS file to openstatus
- Element 0 receives 0 on success, non-zero otherwise
-
zpath
@Deprecated public static String zpath(String aPart, String bPart, String cPart, String dPart, String ePart, String fPart) Deprecated. -
zpseudorts
Deprecated. -
zplist
@Deprecated public static int zplist(int[] ifltab, String instructions, int[] filePos, stringContainer pathname) Deprecated.Usezcatalog(int[], HecDssCatalog)
instead. -
zquery
Queries a library parameterUsage is as follows:
Parameter Version Description Alpha Number ABOR 6 Reports whether library will abort on fatal error "OFF" or "ON" 0 or 1 ALLV 6 or 7 Reports the default version for new DSS files opened 6 or 7 CURR 6 or 7 Reports the current item number of an in-progress multi-item operation The current item number DATE 7 Reports the library version date The library major version number The library version date DSSV 6 or 7 Reports the version for the next new DSS file opened 6 or 7 EMPT 6 or 7 Reports whether a squeeze of file copy will copy empty records "OFF" or "ON" (DSS 6 only) 0 or 1 ERRO 6 or 7 Reports the current error status Error message Error number INTE 7 Reports whether an in-progress multi-item operation has been marked as interrupted 0 or 1 MAXE 6 or 7 Reports the maximum number errors allowed for an in-progress multi-item operation The maximum number of errors allowed MLVL or MLEV 6 or 7 Reports the global message level - 0 - none
- 1 - critical
- 2 - terse
- 4 - general
- 5 - user diagnostics
- 11 - internal diagnostic
- 13 - internal debug
MUNI or MLFN 6 or 7 Reports Fortran unit number of message output. MLFN variant DSS 6 only. The unit number NERR 6 or 7 Reports the number errors encountered in an in-progress multi-item operation The number of errors encountered PROG 6 Reports the name of the program that will wrie the next record The program name SQUE 6 Reports whether a squeeze is peformed when requested, even if it's not necessary "OFF" or "ON" 0 or 1 TAG 6 Reports the tag of last record accessed The tag TOTA 6 or 7 Reports the total number of items of an in-progress multi-item operation The number total number of items VDTM 7 Reports the default native vertical datum Text value of default native vertical datum: - "UNSET"
- "NAVD-88"
- "NGVD-29"
- "OTHER"
Numeric value of default native vertical datum: - UNSET
- NAVD-88
- NGVD-29
- OTHER
VDOW 7 Reports whether incoming native vertical datum can overwrite the location record's native vertical datum 0 or 1 VERS 6 or 7 Reports the library version Text version of the library Numeric version of the library 80CO 6 Reports whether in 80 column output mode "OFF" or "ON" 0 or 1 - Parameters:
param
- The parameter to inquire aboutalpha
- Receives the text value of the parameter, if applicablenumber
- Element 0 receives the integer value of the parameter, if applicable- See Also:
-
zrdpat
public static boolean zrdpat(int[] catalogUnit, int[] position, int[] referenceNumber, stringContainer tag, stringContainer pathname) Reads a pathname from a catalog file by reference number.The catalog file must be rewound and position set to zero before calling zrdpat to retrieve a (or set of) pathname(s). zrdpat only can search for pathnames in a forward direction; referenceNumber must always be greater than position. Thus, if a sequence of reference numbers for pathnames to be retrieved is "12, 18, 9, 20", then the catalog has to be rewound and position set to zero after reading pathname eighteen before pathname nine will be found. It is more efficient to sort the reference numbers in ascending order prior to calling zrdpat.
If referenceNumber is less than or equal to position on input, zrdpat will read the next pathname in the catalog and return its reference number as referenceNumber. Thus, the entire catalog file can be read by rewinding the file, setting position and referenceNumber both to zero, then calling zrdpat until it returns a non-zero value. In this case referenceNumber does not need to be reset by the program each time zrdpat is called.
- Parameters:
catalogUnit
- Element 0 specifies the Fortran unit number of the catalog fileposition
- Element 0 must be set to 0 when first reading the catalog. Do not set otherwise, as element 0 receives the current position in the catalog file for subsequent calls.referenceNumber
-- INPUT - the catalog reference number to read
- OUTPUT - the last catalog reference number read, or the largest reference number in the catalog file if less that the input value
tag
- Receives the record tag of the pathname at the reference numberpathname
- Receives the pathname at the reference number- Returns:
- Non-zero if the end of the catalog has been reached, otherwise 0.
-
zreadx
public static void zreadx(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, short[] data, int kdata, int[] ndata, int plan, int[] found) Reads a single record using 2-byte array elements for data. Information returned includes:- Record data
- User header
- Internal header
- compression header
- Parameters:
ifltab
- The file table of the DSS File.pathname
- Specifies the pathname to readintheader
- Receives the internal header array up to kintheaderkintheader
- Specifies the maximum (allocated) size of intheadernintheader
- Element 0 receives the number of elements returned in intheadercompheader
- Receives the compression header array up to kcompheaderkcompheader
- Specifies the maximum (allocated) size of compheaderncompheader
- Element 0 receives the number of elements returned in compheaderuserheader
- Receives the user header array up to kuserheaderkuserheader
- Specifies the maximum (allocated) size of userheadernuserheader
- Element 0 receives the number of elements returned in userheaderdata
- Receives the record data array up to kdatakdata
- Specifies the maximum (allocated) size of datandata
- Element 0 receives the number of elements returned in dataplan
- Must be set to 0found
- Element 0 receives 0 if the record was not found, otherwise 0
-
zreadxBytes
public static void zreadxBytes(int[] ifltab, String pathname, int[] intheader, int kintheader, int[] nintheader, int[] compheader, int kcompheader, int[] ncompheader, int[] userheader, int kuserheader, int[] nuserheader, byte[] data, int kdata, int[] ndata, int plan, int[] found) Reads a single record using 1-byte array elements for data. Information returned includes:- Record data
- User header
- Internal header
- compression header
- Parameters:
ifltab
- The file table of the DSS File.pathname
- Specifies the pathname to readintheader
- Receives the internal header array up to kintheaderkintheader
- Specifies the maximum (allocated) size of intheadernintheader
- Element 0 receives the number of elements returned in intheadercompheader
- Receives the compression header array up to kcompheaderkcompheader
- Specifies the maximum (allocated) size of compheaderncompheader
- Element 0 receives the number of elements returned in compheaderuserheader
- Receives the user header array up to kuserheaderkuserheader
- Specifies the maximum (allocated) size of userheadernuserheader
- Element 0 receives the number of elements returned in userheaderdata
- Receives the record data array up to kdatakdata
- Specifies the maximum (allocated) size of datandata
- Element 0 receives the number of elements returned in dataplan
- Must be set to 0found
- Element 0 receives 0 if the record was not found, otherwise 0
-
zrenam
Renames a record- Parameters:
ifltab
- The file table of the DSS filepathname
- The existing record pathnamenewPathname
- The new pathname for the record- Returns:
- 0 on success, non-zero if the existing record was not found
-
zrinfo
public static void zrinfo(int[] ifltab, String pathname, int[] lexists, int[] recordType, stringContainer recordTypeDescription, int[] ldoubles, int[] lquality, int[] precision, stringContainer recordTag, stringContainer lastWrittenDate, stringContainer lastWrittenTime, stringContainer programName, int[] version, int[] numberData, int[] spaceAllocated, int[] timeSeriesCompression, int[] lpasswordProtected) Retrieves information about a record.Record types returned are:
Numeric Type Text Type Description 20 LOC Location 90 ARR Array (DSS 7 only) 91 Integer Array (DSS 6 only) 92 Float Array (DSS 6 only) 93 Double Array (DSS 6 Only) 100 RTS Regular-interval time series 101 RTPA Regular-interval time series pattern 102 RTPR Regular-interval time series profile 105 RTD Regular-interval time series doubles 107 RTPD Regular-interval time series double profile 110 ITS Irregular-interval time series 111 ITPA Irregular-interval time series pattern 112 ITPR Irregular-interval time series profile 115 ITD Irregular-interval time series doubles 117 ITPD Irregular-interval time series double profile 200 PD Paired Data 205 PDD Paired Data doubles 300 TXT Text Data 310 TT Text Table 400 GUT Gridded - Undefined grid with time 401 GU Gridded - Undefined grid 410 GHT Gridded - HRAP grid with time reference 411 GH Gridded - HRAP grid 420 GAT Gridded - Albers with time reference 421 GA Gridded - Albers 430 GST Gridded - SHG with time reference 431 GS Gridded - SHG 450 Spatial - TIN (DSS 7 only) 600 Generic File 610 Image Compression methods returned are:
- 0 - no compression method
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the recordlexists
- Element 0 receives a non-zero value if the record exists, otherwize 0recordType
- Element 0 receives the numeric record typerecordTypeDescription
- Receives the text record typeldoubles
- Element 0 receives a non-zero value if data is double precision, otherwise 0lquality
- Element 0 receives a non-zero value if the record contains quality flags, otherwise 0precision
- Element 0 receives the decimal precision of the data- -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
recordTag
- Receives the record taglastWrittenDate
- Receives the last written date of the recordlastWrittenTime
- Receives the last written time of the recordprogramName
- Receives the name of the program that was registered when the record was writtenversion
- Element 0 receives the number of times the record has been writtennumberData
- Element 0 receives the number of data values in the recordspaceAllocated
- Element 0 receives the allocated size of the recordtimeSeriesCompression
- Element 0 receives the compression methodlpasswordProtected
- Element 0 receives a non-zero value if the record is password protected, otherwise 0
-
zritsc
@Deprecated public static void zritsc(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int getDoubles, int[] doublesRead, int[] timeBuffer, float[] floatValues, double[] doubleValues, int maxValues, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int inflag, int[] status) Deprecated.Retrieves irregular time series data with user header converted to characters and including time zone and location coordinates- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname or dataset name of the data to read. If a time window is specified the D part of the pathname is ignored and the parameter is a dataset name. If no time window is specified (startMinutes = -2) the parameter must contain a valid D part.startJulian
- The start day of the time window in days since 31Dec1899startMinutes
- The start time of the time window in minutes since midnight of startJulianendJulian
- The end day of the time window in days since 31Dec1899endMinutes
- The end time of the time window in minutes since midnight of endJuliangetDoubles
-- 0 - return values in floatValues parameter even if the file contains double precision values. The doubleValues parameter need not be allocated.
- non-zero - return values in doubleValues parameter if the file contains double precision values, or in floatValues otherwise. Both floatValues and doubleValues must be allocated. The doublesRead parameter indicates which parameter contains the values.
doublesRead
- Element zero receives whether the pathname or dataset contains double precision values in the file (0 = false, non-zero = true). If the getDoubles parameter is non-zero, this value also indicates which parameter contains the values read (0 = floatValues, non-zero = doubleValues)timeBuffer
- Receives the minutes since midnight at the beginning of the beginJuilan parameter for each value in floatValues or doubleValuesfloatValues
- Receives the data values if doublesRead[0] == 0doubleValues
- Receives the data values if doublesRead[0] != 0maxValues
- The maximum number of values to read. The arrays for the timeBuffer, floatValues, doubleValues, and flags parameters must be allocated to at least this size if usednumberRead
- Element 0 receives the number of values actually read (<= maxValues)beginJulian
- Element 0 receives the number of days since 31Dec1899 of the first data valueflags
- Receives the quality flags for the pathname or dataset if readFlags != 0 and quality flags for the pathname or dataset exist in the file. The flagsRead parameter indicates whether quality flags were readreadFlags
-- 0 - return quality flags for pathname or dataset if they exist
- non-zero - do not return quality flags for the pathname or dataset. The flags parameter need not be allocated
flagsRead
- Element zero receives whether quality flags were returned in the flags paraemter (0 = false, non-zero =true)units
- Receives the units of the data valuestype
- Receives the data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)supplementalInfo
- Receives the user header of the pathname or last pathname in the datasettimezoneOffset
- Element zero receives the offset from UTC of the time zone of the locationtimezoneName
- Receives the name of the time zone of the locationcoordinates
-- Element 0 receives the x coordinate of the location
- Element 1 receives the y coordinate of the location
- Element 2 receives the z coordinate of the location
coordinateDescription
-- Element 0 receives the coordinate system
- 0 - no coordinates set
- 1 - latitude & longitude
- 2 - SPCS, FIPS
- 3 - SPCS, ADS
- 4 - UTM
- 5 - local / other
- Element 1 receives the coordinate system zone (SPCS or UTM only)
- Element 2 receives the horizontal units
- 0 - unspecified
- 1 - feet
- 2 - meters
- 3 - decimal degrees
- 4 - degrees, minutes, and seconds
- Element 3 receives the horizontal datum
- 0 - unset
- 1 - NAD83
- 2 - NAD27
- 3 - WGS84
- 4 - WGS72
- 5 - local / other
- Element 4 receives the vertical units
- 0 - unspecified
- 1 - feet
- 2 - meters
- Element 5 receives the vertical datum
- 0 - unset
- 1 - NAVD88
- 2 - NGVD29
- 3 - local / other
- Element 0 receives the coordinate system
coordinatesUsed
- Element 0 receives the number of coordinates retrieved- 0 - no coordinates retrieved
- 2 - x and y coordinates retrieved
- 3 - x, y, and z coordinates retrieved
inflag
- Specifies how to handle the time window- 0 - retrieve only values between the specified start and end times (inclusive)
- 1 - expand the time window to include the last value before the specified start time
- 2 - expand the time window to include the first value after the specified end time
- 3 - expand the time window to include both values immediately outside the specified time window
status
-- 0 - success
- 1 - incomplete data returned. The size of the floatValues or doubleValues array (maxValues) was too small
- 3 - record(s) found, but no data found in time window
- 4 - time window contains one or more missing records
- 13 - the requested vertical datum transformation could not be performed
- 20 - the record is not an irregular time series record
- 21 - the number of values exceeds the size of an internal buffer
- 24 - the pathname or dataset name does not specify irregular time series
-
zritsx
@Deprecated public static void zritsx(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, float[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) Deprecated.Retrieves irregular time series data. Returns the data values as a float array and user header as an integer array. Does not return location coordinate or time zone information.- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname or dataset name of the data to read. If a time window is specified the D part of the pathname is ignored and the parameter is a dataset name. If no time window is specified (startMinutes = -2) the parameter must contain a valid D part.startJulian
- The start day of the time window in days since 31Dec1899startMinutes
- The start time of the time window in minutes since midnight of startJulianendJulian
- The end day of the time window in days since 31Dec1899endMinutes
- The end time of the time window in minutes since midnight of endJuliantimeBuffer
- Receives the minutes since midnight at the beginning of the beginJuilan parameter for each value in floatValues or doubleValuesdata
- Receives the data valuesdataSize
- The maximum number of values to read. The arrays for the timeBuffer, data, and flags parameters must be allocated to at least this size if usednumberRead
- Element 0 receives the number of values actually read (<= dataSize)beginJulian
- Element 0 receives the number of days since 31Dec1899 of the first data valueflags
- Receives the quality flags for the pathname or dataset if readFlags != 0 and quality flags for the pathname or dataset exist in the file. The flagsRead parameter indicates whether quality flags were readreadFlags
-- 0 - return quality flags for pathname or dataset if they exist
- non-zero - do not return quality flags for the pathname or dataset. The flags parameter need not be allocated
flagsRead
- Element zero receives whether quality flags were returned in the flags paraemter (0 = false, non-zero =true)units
- Receives the units of the data valuestype
- Receives the data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)userHead
- Receives the user headermaxUserHead
- The maximum number of user header elements to read. The array for userHead must be allocated to at least this size.numberHeadRead
- Element 0 receives tha number of user header elements read (<= maxUserHead)inflag
- Specifies how to handle the time window- 0 - retrieve only values between the specified start and end times (inclusive)
- 1 - expand the time window to include the last value before the specified start time
- 2 - expand the time window to include the first value after the specified end time
- 3 - expand the time window to include both values immediately outside the specified time window
status
-- 0 - success
- 1 - incomplete data returned - the size of the data array (dataSize) was too small
- 3 - record(s) found, but no data found in time window
- 4 - time window contains one or more missing records
- 13 - the requested vertical datum transformation could not be performed
- 20 - the record is not an irregular time series record
- 21 - the number of values exceeds the size of an internal buffer
- 24 - the pathname or dataset name does not specify irregular time series
-
zritsxd
@Deprecated public static void zritsxd(int[] ifltab, String pathname, int startJulian, int startMinutes, int endJulian, int endMinutes, int[] timeBuffer, double[] data, int dataSize, int[] numberRead, int[] beginJulian, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int inflag, int[] status) Deprecated.Retrieves irregular time series data. Returns the data values as a double array and user header as an integer array. Does not return location coordinate or time zone information.- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname or dataset name of the data to read. If a time window is specified the D part of the pathname is ignored and the parameter is a dataset name. If no time window is specified (startMinutes = -2) the parameter must contain a valid D part.startJulian
- The start day of the time window in days since 31Dec1899startMinutes
- The start time of the time window in minutes since midnight of startJulianendJulian
- The end day of the time window in days since 31Dec1899endMinutes
- The end time of the time window in minutes since midnight of endJuliantimeBuffer
- Receives the minutes since midnight at the beginning of the beginJuilan parameter for each value in floatValues or doubleValuesdata
- Receives the data valuesdataSize
- The maximum number of values to read. The arrays for the timeBuffer, data, and flags parameters must be allocated to at least this size if usednumberRead
- Element 0 receives the number of values actually read (<= dataSize)beginJulian
- Element 0 receives the number of days since 31Dec1899 of the first data valueflags
- Receives the quality flags for the pathname or dataset if readFlags != 0 and quality flags for the pathname or dataset exist in the file. The flagsRead parameter indicates whether quality flags were readreadFlags
-- 0 - return quality flags for pathname or dataset if they exist
- non-zero - do not return quality flags for the pathname or dataset. The flags parameter need not be allocated
flagsRead
- Element zero receives whether quality flags were returned in the flags paraemter (0 = false, non-zero =true)units
- Receives the units of the data valuestype
- Receives the data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)userHead
- Receives the user headermaxUserHead
- The maximum number of user header elements to read. The array for userHead must be allocated to at least this size.numberHeadRead
- Element 0 receives tha number of user header elements read (<= maxUserHead)inflag
- Specifies how to handle the time window- 0 - retrieve only values between the specified start and end times (inclusive)
- 1 - expand the time window to include the last value before the specified start time
- 2 - expand the time window to include the first value after the specified end time
- 3 - expand the time window to include both values immediately outside the specified time window
status
-- 0 - success
- 1 - incomplete data returned - the size of the data array (dataSize) was too small
- 3 - record(s) found, but no data found in time window
- 4 - time window contains one or more missing records
- 13 - the requested vertical datum transformation could not be performed
- 20 - the record is not an irregular time series record
- 21 - the number of values exceeds the size of an internal buffer
- 24 - the pathname or dataset name does not specify irregular time series
-
zrpd
@Deprecated public static void zrpd(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, float[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, int[] headu, int kheadu, int[] nheadu, int[] istat) Deprecated.UsezpdRetrieve(int[], PairedDataContainer)
instead.Retrieves a paired data record. Paired data values are returned in a float array.- Parameters:
ifltab
- The file table of the DSS filecpath
- The pathname of the paired data recordnord
- Element 0 receives the number of ordinates (number of points per curve)numberOfCurves
- Element 0 receives the number of curvesihoriz
- Element 0 retrieves how the curve should be displayed- 1 - display the ordinates on the horizontal axis
- 2 - display the numeric value of the curve labels on the horizontal axis
cunitsX
- The unit of the ordinatesctypeX
- The plotting type of the ordinates- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
cunitsY
- The unit of the curves labels, if numericctypeY
- The plotting type of the curve labels, if numeric- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
values
- The data values as a flat array of (numberOfCurves+1)*nord elements- Values 0 .. nord-1 = ordinates
- Values nord .. 2*nord-1 = curve values for 1st curve
- Values 2*nord .. 3*nord-1 = curve values for 2nd curve
- ...
kvals
- The maximum number of values to retrieve. The values parameter must be allocated to at least this sizenumberOfValues
- Element 0 retrieves the number of values retrieved (<= kvals)clabel
- Receives the labels for each curveklabel
- The maximum number of labels to retrieve. The clabel parameter must be allocated to at least this sizelabelsExist
- Receives whether the paired data record contains labelsheadu
- Receives the user headerkheadu
- The maximum number of elements of the user header to receive. The headu parameter must be allocated to at least this sizenheadu
- The number of user header elements retrieved (<= kheadu)istat
-- 0 - success
- -1 - the record doesn't exist
- 1 - incomplete data returned - the size of the values array (kvals) was too small
- 13 - the requested vertical datum transformation could not be performed
- 20 - the record is not a paired data record
-
zrpdd
@Deprecated public static void zrpdd(int[] ifltab, String cpath, int[] nord, int[] numberOfCurves, int[] ihoriz, stringContainer cunitsX, stringContainer ctypeX, stringContainer cunitsY, stringContainer ctypeY, double[] values, int kvals, int[] numberOfValues, String[] clabel, int klabel, booleanContainer labelsExist, float[] headu, int kheadu, int[] nheadu, int[] istat) Deprecated.UsezpdRetrieve(int[], PairedDataContainer)
instead.Retrieves a paired data record. Paired data values are returned in a double array.- Parameters:
ifltab
- The file table of the DSS filecpath
- The pathname of the paired data recordnord
- Element 0 receives the number of ordinates (number of points per curve)numberOfCurves
- Element 0 receives the number of curvesihoriz
- Element 0 retrieves how the curve should be displayed- 1 - display the ordinates on the horizontal axis
- 2 - display the numeric value of the curve labels on the horizontal axis
cunitsX
- The unit of the ordinatesctypeX
- The plotting type of the ordinates- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
cunitsY
- The unit of the curves labels, if numericctypeY
- The plotting type of the curve labels, if numeric- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
values
- The data values as a flat array of (numberOfCurves+1)*nord elements- Values 0 .. nord-1 = ordinates
- Values nord .. 2*nord-1 = curve values for 1st curve
- Values 2*nord .. 3*nord-1 = curve values for 2nd curve
- ...
kvals
- The maximum number of values to retrieve. The values parameter must be allocated to at least this sizenumberOfValues
- Element 0 retrieves the number of values retrieved (<= kvals)clabel
- Receives the labels for each curveklabel
- The maximum number of labels to retrieve. The clabel parameter must be allocated to at least this sizelabelsExist
- Receives whether the paired data record contains labelsheadu
- Receives the user headerkheadu
- The maximum number of elements of the user header to receive. The headu parameter must be allocated to at least this sizenheadu
- The number of user header elements retrieved (<= kheadu)istat
-- 0 - success
- -1 - the record doesn't exist
- 1 - incomplete data returned - the size of the values array (kvals) was too small
- 13 - the requested vertical datum transformation could not be performed
- 20 - the record is not a paired data record
-
zrrts
@Deprecated public static void zrrts(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, stringContainer units, stringContainer type, int[] offset, int[] status) Deprecated.Retrieves regular time series values. No quality flags, user header, or other information is retrieved.- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname or dataset name of the data to read. If a startDate is not blank the D part of the pathname is ignored and the parameter is a dataset name. If no startDate is blank the parameter must contain a valid D part.startDate
- The date of the beginning of the time window in a form readable by HecTime.set(). Set to blank " " to read a single record specified in the pathname variablestartTime
- The time of the beginning of the time window in 24-hour clock format (e.g., "1630"). Ignored if the startDate parameter is blanknumber
- The maximum number of values to read. The data array must be allocated to at least this size. If startDate is blank this specifies the end of the time windowdata
- Receives the valuesunits
- Receives the units of the data valuestype
- Receives the data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)offset
- Element 0 receives the offset into the interval (in minutes) of the time of each valuestatus
-- 0 - success
- 1 - some missing data within block(s)
- 2 - one or more missing data blocks
- 3 - one or more missing data blocks and some data missing within blocks
- 4 - record found, but no data found
- 5 - record not found
- 11 - number of values requested is less than 1
- 12 - pathname contains a non-standard time interval
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate or startTime are illegal
- 20 - the record is not a regular time series record
- 24 - the pathname or dataset name does not specify regular time series
-
zrrtsc
@Deprecated public static void zrrtsc(int[] ifltab, String pathname, String startDate, String startTime, int maxNumber, int[] numberRead, int getDoubles, int[] doublesRead, float[] floatValues, double[] doubleValues, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, stringContainer supplementalInfo, int[] offset, int[] compression, int[] timezoneOffset, stringContainer timezoneName, double[] coordinates, int[] coordinateDescription, int[] coordinatesUsed, int[] status) Deprecated.Retrieves regular time series data with user header converted to characters and including time zone and location coordinates- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname or dataset name of the data to read. If a startDate is not blank the D part of the pathname is ignored and the parameter is a dataset name. If no startDate is blank the parameter must contain a valid D part.startDate
- The date of the beginning of the time window in a form readable by HecTime.set(). Set to blank " " to read a single record specified in the pathname variablestartTime
- The time of the beginning of the time window in 24-hour clock format (e.g., "1630"). Ignored if the startDate parameter is blankmaxNumber
- The maximum number of values to read. The arrays for floatValues, doubleValues, and flags must be allocated to at least this size. If startDate is blank this specifies the end of the time windownumberRead
- Element 0 receives the number of values actually read (<= maxNumber)getDoubles
-- 0 - return values in floatValues parameter even if the file contains double precision values. The doubleValues parameter need not be allocated.
- non-zero - return values in doubleValues parameter if the file contains double precision values, or in floatValues otherwise. Both floatValues and doubleValues must be allocated. The doublesRead parameter indicates which parameter contains the values.
doublesRead
- Element zero receives whether the pathname or dataset contains double precision values in the file (0 = false, non-zero = true). If the getDoubles parameter is non-zero, this value also indicates which parameter contains the values read (0 = floatValues, non-zero = doubleValues)floatValues
- Receives the data values if doublesRead[0] == 0doubleValues
- Receives the data values if doublesRead[0] != 0flags
- Receives the quality flags for the pathname or dataset if readFlags != 0 and quality flags for the pathname or dataset exist in the file. The flagsRead parameter indicates whether quality flags were readreadFlags
-- 0 - return quality flags for pathname or dataset if they exist
- non-zero - do not return quality flags for the pathname or dataset. The flags parameter need not be allocated
flagsRead
- Element zero receives whether quality flags were returned in the flags paraemter (0 = false, non-zero =true)units
- Receives the units of the data valuestype
- Receives the data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)supplementalInfo
- Receives the user header of the pathname or last pathname in the datasetoffset
- Element 0 receives the offset into the interval (in minutes) of the time of each valuecompression
- Element 0 receives the compression method used for the data.- 0 - no compression method
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
timezoneOffset
- Element zero receives the offset from UTC of the time zone of the locationtimezoneName
- Receives the name of the time zone of the locationcoordinates
-- Element 0 receives the x coordinate of the location
- Element 1 receives the y coordinate of the location
- Element 2 receives the z coordinate of the location
coordinateDescription
-- Element 0 receives the coordinate system
- 0 - no coordinates set
- 1 - latitude & longitude
- 2 - SPCS, FIPS
- 3 - SPCS, ADS
- 4 - UTM
- 5 - local / other
- Element 1 receives the coordinate system zone (SPCS or UTM only)
- Element 2 receives the horizontal units
- 0 - unspecified
- 1 - feet
- 2 - meters
- 3 - decimal degrees
- 4 - degrees, minutes, and seconds
- Element 3 receives the horizontal datum
- 0 - unset
- 1 - NAD83
- 2 - NAD27
- 3 - WGS84
- 4 - WGS72
- 5 - local / other
- Element 4 receives the vertical units
- 0 - unspecified
- 1 - feet
- 2 - meters
- Element 5 receives the vertical datum
- 0 - unset
- 1 - NAVD88
- 2 - NGVD29
- 3 - local / other
- Element 0 receives the coordinate system
coordinatesUsed
- Element 0 receives the number of coordinates retrieved- 0 - no coordinates retrieved
- 2 - x and y coordinates retrieved
- 3 - x, y, and z coordinates retrieved
status
-- 0 - success
- 1 - some missing data within block(s)
- 2 - one or more missing data blocks
- 3 - one or more missing data blocks and some data missing within blocks
- 4 - record found, but no data found
- 5 - record not found
- 11 - number of values requested is less than 1
- 12 - pathname contains a non-standard time interval
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate or startTime are illegal
- 20 - the record is not a regular time series record
- 24 - the pathname or dataset name does not specify regular time series
-
zrrtsx
@Deprecated public static void zrrtsx(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) Deprecated.Retrieves regular time series data. Values are returned in a float array. User header is returned in an int array.- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname or dataset name of the data to read. If a startDate is not blank the D part of the pathname is ignored and the parameter is a dataset name. If no startDate is blank the parameter must contain a valid D part.startDate
- The date of the beginning of the time window in a form readable by HecTime.set(). Set to blank " " to read a single record specified in the pathname variablestartTime
- The time of the beginning of the time window in 24-hour clock format (e.g., "1630"). Ignored if the startDate parameter is blanknumber
- The maximum number of values to read. The data and flags arrays must be allocated to at least this size. If startDate is blank this specifies the end of the time windowdata
- Receives the valuesflags
- Receives the quality flags for the pathname or dataset if readFlags != 0 and quality flags for the pathname or dataset exist in the file. The flagsRead parameter indicates whether quality flags were readreadFlags
-- 0 - return quality flags for pathname or dataset if they exist
- non-zero - do not return quality flags for the pathname or dataset. The flags parameter need not be allocated
flagsRead
- Element zero receives whether quality flags were returned in the flags paraemter (0 = false, non-zero =true)units
- Receives the units of the data valuestype
- Receives the data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)userHead
- Receives the user headermaxUserHead
- The maximum number of user header elements to read. The array for userHead must be allocated to at least this size.numberHeadRead
- Element 0 receives tha number of user header elements read (<= maxUserHead)offset
- Element 0 receives the offset into the interval (in minutes) of the time of each valuecompression
- Element 0 receives the compression method used for the data.- 0 - no compression method
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
status
-- 0 - success
- 1 - some missing data within block(s)
- 2 - one or more missing data blocks
- 3 - one or more missing data blocks and some data missing within blocks
- 4 - record found, but no data found
- 5 - record not found
- 11 - number of values requested is less than 1
- 12 - pathname contains a non-standard time interval
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate or startTime are illegal
- 20 - the record is not a regular time series record
- 24 - the pathname or dataset name does not specify regular time series
-
zrrtsxd
@Deprecated public static void zrrtsxd(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int readFlags, int[] flagsRead, stringContainer units, stringContainer type, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] offset, int[] compression, int[] status) Deprecated.Retrieves regular time series data. Values are returned in a double array. User header is returned in an int array.- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname or dataset name of the data to read. If a startDate is not blank the D part of the pathname is ignored and the parameter is a dataset name. If no startDate is blank the parameter must contain a valid D part.startDate
- The date of the beginning of the time window in a form readable by HecTime.set(). Set to blank " " to read a single record specified in the pathname variablestartTime
- The time of the beginning of the time window in 24-hour clock format (e.g., "1630"). Ignored if the startDate parameter is blanknumber
- The maximum number of values to read. The data and flags arrays must be allocated to at least this size. If startDate is blank this specifies the end of the time windowdata
- Receives the valuesflags
- Receives the quality flags for the pathname or dataset if readFlags != 0 and quality flags for the pathname or dataset exist in the file. The flagsRead parameter indicates whether quality flags were readreadFlags
-- 0 - return quality flags for pathname or dataset if they exist
- non-zero - do not return quality flags for the pathname or dataset. The flags parameter need not be allocated
flagsRead
- Element zero receives whether quality flags were returned in the flags paraemter (0 = false, non-zero =true)units
- Receives the units of the data valuestype
- Receives the data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)userHead
- Receives the user headermaxUserHead
- The maximum number of user header elements to read. The array for userHead must be allocated to at least this size.numberHeadRead
- Element 0 receives tha number of user header elements read (<= maxUserHead)offset
- Element 0 receives the offset into the interval (in minutes) of the time of each valuecompression
- Element 0 receives the compression method used for the data.- 0 - no compression method
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
status
-- 0 - success
- 1 - some missing data within block(s)
- 2 - one or more missing data blocks
- 3 - one or more missing data blocks and some data missing within blocks
- 4 - record found, but no data found
- 5 - record not found
- 11 - number of values requested is less than 1
- 12 - pathname contains a non-standard time interval
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate or startTime are illegal
- 20 - the record is not a regular time series record
- 24 - the pathname or dataset name does not specify regular time series
-
zrtxts
@Deprecated public static void zrtxts(int[] ifltab, String pathname, stringContainer cString, int maxString, int[] numbString, int[] userHead, int maxUserHead, int[] numberHeadRead, int[] status) Deprecated.UseztextRetrieve(int[], TextContainer)
instead.Retrieves a text record- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the text recordcString
- Receives the text of the stringmaxString
- The maximum number of characters to readnumbString
- The number of characters read (<= maxString)userHead
- Receives the user headermaxUserHead
- The maximum number of user header elements to read. The array for userHead must be allocated to at least this size.numberHeadRead
- Element 0 receives tha number of user header elements read (<= maxUserHead)status
-- 0 - success
- -1 - record not found
- -2 - record found but is not a text record
-
zset
Sets a library parameterUsage is as follows:
Parameter Version Description Alpha Number ABOR 6 Sets whether library will abort on fatal error "OFF" or "ON" ALLV 6 or 7 Sets the default version for new DSS files opened 6 or 7 CAST 6 Sets whether to show status when generating catalog "OFF" or "ON" CCDA 6 Sets whether to exclude missing periods from condensed catalogs "OFF" or "ON" CLEA 7 Clears error number and message COLL 7 Sets whether to expect collection records in new file COMP 6 Sets whether to compress time series records when copying or squeezing "OFF" or "ON" CURR 6 or 7 Sets the current item number of an in-progress multi-item operation The current item number DCDB 6 Sets whether data compression debug is turned on "OFF" or "ON" The unit number of the data compression debug output DSSV 6 or 7 Sets the version for the next new DSS file opened 6 or 7 EMPT 6 or 7 Sets whether a squeeze of file copy will copy empty records "OFF" or "ON" FDAT 6 Sets the file creation date (for squeeze only) File creation date FLAG or QUAL 6 Sets whether to write quality flags 0 or 1 HAND 6 Sets whether to display the file handle rather than the unit number "OFF" or "ON" HSIZ 6 Sets the size of the hash table for squeezing the DSS file - 1 - tiny
- 2 - extra small
- 3 - small
- 4 - medium
- 5 - large
- 6 - extra large
- 7 - huge
- 8 - extra huge
- 9 - super
INTE 6 or 7 Sets whether an in-progress multi-item operation is marked as interrupted 0 or 1 MAPU 6 Sets the Fortran unit number to write the catalog map to The unit number MAXE 6 or 7 Sets the maximum number errors allowed for an multi-item operation The maximum number of errors allowed MAXP 7 Sets the maximum number of pathnames expected The maximum number of pathnames expected MHAN 7 Sets the message output handle The handle of the message output device MLVL, MLEV, or MESS 6 or 7 Sets the global message level. MESS is DSS 7 only - 0 - none
- 1 - critical
- 2 - terse
- 4 - general
- 5 - user diagnostics
- 11 - internal diagnostic
- 13 - internal debug
MULT 6 Sets the current DSS file into multi user mode MUNI or MLFN 6 or 7 Sets the Fortran unit number of message output. MLFN is DSS 6 only The unit number NERR 6 or 7 Sets the number errors encountered in an in-progress multi-item operation The number of errors encountered PREC 6 Sets the data precision for data compression methods "OFF" to disable - -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
PROG or PRGN 6 or 7 Sets the name of the program that will write the next record. PRGN is DSS 6 only The program name PROT 6 Sets whether to overwrite existing records "OFF" or "ON" PSEU 6 Sets the pseudo regular interval for the next record written "OFF" or "ON" The interval in minutes QPRO 6 Sets whether protection bit in quality flags is observed "OFF" or "ON" RDAT 6 Sets the last written date of next record written The record date READ 6 Sets whether access to file is read only "OFF" or "ON" RTIM 6 Sets the last written time of next record written The record time RVER 6 Sets the version number for the next record written The version number SIZE 6 Sets the estimated file size for new file The file size SQUE 6 Sets whether a squeeze is peformed when requested, even if it's not necessary "OFF" or "ON" SQST 6 Sets whether to show status when squeezing file "OFF" or "ON" TABL 6 Sets the type of hash table "STABLE" or "DYNAMIC" TOL 6 Sets the tolerance for replacing existing values "OFF" to turn off tolerance checking The difference above which two values are considered different enough for replacement TOTA 6 or 7 Sets the total number of items for an multi-item operation The number total number of items TWCA 6 Sets whether to use the time window as a selection criterion when generating a catalog "OFF" or "ON" TYPE 6 Sets the data type for data to be written - 20 - location
- 90 - array (DSS 7 only)
- 91 - integer array (DSS 6 only)
- 92 - float array (DSS 6 only)
- 93 - double array (DSS 6 Only)
- 100 - regular-interval time series
- 101 - regular-interval time series pattern
- 102 - regular-interval time series profile
- 105 - regular-interval time series doubles
- 107 - regular-interval time series double profile
- 110 - irregular-interval time series
- 111 - irregular-interval time series pattern
- 112 - irregular-interval time series profile
- 115 - irregular-interval time series doubles
- 117 - irregular-interval time series double profile
- 200 - paired data
- 205 - paired data doubles
- 300 - text data
- 310 - text table
- 400 - gridded - undefined grid with time
- 401 - gridded - undefined grid
- 410 - gridded - HRAP grid with time reference
- 411 - gridded - HRAP grid
- 420 - gridded - Albers with time reference
- 421 - gridded - Albers
- 430 - gridded - SHG with time reference
- 431 - gridded - SHG
- 450 - spatial - TIN (DSS 7 only)
- 600 - generic file
- 610 - image
UNIT or FILN 6 Set the Fortran unit number of the next DSS File to open The unit number UPRT 6 Sets whether record times will be time of write instead the time the file was opened "OFF" or "ON" VDTM 6 or 7 Sets the default native vertical datum. Alpha takes precedence over number if both are specified Text value of default native vertical datum: - "UNSET"
- "NAVD-88"
- "NGVD-29"
- "OTHER"
Numeric value of default native vertical datum: - UNSET
- NAVD-88
- NGVD-29
- OTHER
VDOW 7 Sets whether incoming native vertical datum can overwrite the location record's native vertical datum 0 or 1 ZONE 6 Sets the time zone of the next record to write The time zone name The time zone offset (minutes or seconds?) 80CO 6 Sets whether in 80 column output mode "OFF" or "ON" - Parameters:
parameter
- The parameter to setalpha
- The text value of the parameter, if applicablenumber
- The integer value of the parameter, if applicable- See Also:
-
zsetfi
Sets a library parameterUsage is as follows:
Parameter Version Description Alpha Number DETU 7 Detune file for testing purposes FMUL 6 Force file into multi-user access mode "ON" or "OFF" MAXP 7 Sets the maximum number of pathnames expected The maximum number of pathnames expected MFLU 7 Flushes the message output buffer MHAN 7 Sets the message output handle The message output handle MLVL or MLEV 7 Sets the global message level The message level MULT or ACCE 6 or 7 Sets file access mode. ACCE is DSS7 only - 0 - GENERAL - no errors if write without permission
- 1 - READ - read-only
- 2 - MULTI-USER - full read/write (slow but safe)
- 3 - SINGLE-USER ADVISORY (default) - fast read/write, receives notification if another process wants access
- 4 - EXCLUSIVE - single user only, used for squeezing
MUNI 7 Sets the Fortran unit number of message output The Fortran unit number of message output NDAT 7 Sets logical number of data elements to set in info area The logical number of data elements to set in info area PSEU 6 Sets the pseudo regular interval for a specified record The pathname of the record to set The pseudo-regular interval for the records READ 7 Sets whether access to file is read only "ON" or "OFF" RECL 7 Sets reclaim space level The reclaim space level - Parameters:
ifltab
- The file table of the DSS fileparameter
- The file parameter to setalpha
- The text setting of the parameter, if appropriatenumber
- The numeric setting of the parameter, if appropriatestatus
- 0 on success, otherwise non-zero- See Also:
-
zsitsc
@Deprecated public static void zsitsc(int[] ifltab, String pathname, int[] times, float[] floatValues, double[] doubleValues, int storeDouble, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int inFlag, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.Stores irregular time series data with user header specified in characters and including time zone and location coordinates- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name to store. The D part is ignored as the valid D parts are generated for each record needed to store the data. Must be a valid irregular interval time series dataset nametimes
- The number of minutes of each value from the startDate at 0000. Must have at least numberVals elementsfloatValues
- The values as single precision values if storeDoubles is zero, otherwise not used. Must have at least numberVals elements if useddoubleValues
- The values as double precision values of storeDoubles is non-zero, otherwise not used. Must have at least numberVals elements if usedstoreDouble
- Specifies whether values are specified in floatValues (0) or doubleValues (non-zero)numberVals
- The number of values to storestartDate
- The base date in days since 31Dec1899flags
- The quality flags for each value if storeFlags is non-zero. Must have at least numberVals elements if usedstoreFlags
- Specifies storing of quality flags if non-zero, otherwise no quality flags will be storedunitsX
- The units of the valuestypeX
- The data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)coordinates
- The x, y, and z coordinates of the locationnumberCoordinates
- The coordinates for the location- 0 - no coordinates specified
- 2 - x and y coordinates specified
- 3 - x, y, and z coordinates specified
coordinateDescription
- Information about the location coordinates- Element 0 - coordinate system
- 0 - no coordinates set
- 1 - latitude & longitude
- 2 - SPCS, FIPS
- 3 - SPCS, ADS
- 4 - UTM
- 5 - local / other
- Element 1 - coordinate system zone (SPCS or UTM only)
- Element 2 - horizontal units
- 0 - unspecified
- 1 - feet
- 2 - meters
- 3 - decimal degrees
- 4 - degrees, minutes, and seconds
- Element 3 - horizontal datum
- 0 - unset
- 1 - NAD83
- 2 - NAD27
- 3 - WGS84
- 4 - WGS72
- 5 - local / other
- Element 4 - vertical units
- 0 - unspecified
- 1 - feet
- 2 - meters
- Element 5 - vertical datum
- 0 - unset
- 1 - NAVD88
- 2 - NGVD29
- 3 - local / other
numbCoordDescription
- The number of elements used in coordinateDescription (0-6)supplementaryInfo
- Information to store in the user headertimezoneOffset
- The offset from UTC of the time zone of the locationtimezoneName
- The name of the time zone of the locationinFlag
- The data storage plan- 0 - merge data into existing data, overwriting individual values as necessary
- 1 - delete existing data in incoming time window before storing
status
-- 0 - success
- 4 - numberVals was 0
- 13 - the requested vertical datum transformation could not be performed
- 21 - the number of values exceeds the size of an internal buffer
- 24 - the dataset name does not specify irregular time series
- 30 - data times are not monotonically increasing
-
zsitsx
@Deprecated public static void zsitsx(int[] ifltab, String pathname, int[] times, float[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.Stores irregular time series data. The data values are provided as a float array and the user header as an integer array. Does not store location coordinate or time zone information.- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name to store. The D part is ignored as the valid D parts are generated for each record needed to store the data. Must be a valid irregular interval time series dataset nametimes
- The number of minutes of each value from the startDate at 0000. Must have at least numberVals elementsvalues
- The data valuesnumberVals
- The number of values to storestartDate
- The base date in days since 31Dec1899flags
- The quality flags for each value if storeFlags is non-zero. Must have at least numberVals elements if usedstoreFlags
- Specifies storing of quality flags if non-zero, otherwise no quality flags will be storedunitsX
- The units of the valuestypeX
- The data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)userHeader
- The user header elements. Mush have at least numberHeader elementsnumberHeader
- The number of elements in userHeader to storeinFlag
- The data storage plan- 0 - merge data into existing data, overwriting individual values as necessary
- 1 - delete existing data in incoming time window before storing
status
-- 0 - success
- 4 - numberVals was 0
- 13 - the requested vertical datum transformation could not be performed
- 21 - the number of values exceeds the size of an internal buffer
- 24 - the dataset name does not specify irregular time series
- 30 - data times are not monotonically increasing
-
zsitsxd
@Deprecated public static void zsitsxd(int[] ifltab, String pathname, int[] times, double[] values, int numberVals, int startDate, int[] flags, int storeFlags, String unitsX, String typeX, int[] userHeader, int numberHeader, int inFlag, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.Stores irregular time series data. The data values are provided as a double array and the user header as an integer array. Does not store location coordinate or time zone information.- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name to store. The D part is ignored as the valid D parts are generated for each record needed to store the data. Must be a valid irregular interval time series dataset nametimes
- The number of minutes of each value from the startDate at 0000. Must have at least numberVals elementsvalues
- The data valuesnumberVals
- The number of values to storestartDate
- The base date in days since 31Dec1899flags
- The quality flags for each value if storeFlags is non-zero. Must have at least numberVals elements if usedstoreFlags
- Specifies storing of quality flags if non-zero, otherwise no quality flags will be storedunitsX
- The units of the valuestypeX
- The data type of the data values (e.g., "INST-VAL", "PER-CUM", etc.)userHeader
- The user header elements. Mush have at least numberHeader elementsnumberHeader
- The number of elements in userHeader to storeinFlag
- The data storage plan- 0 - merge data into existing data, overwriting individual values as necessary
- 1 - delete existing data in incoming time window before storing
status
-- 0 - success
- 4 - numberVals was 0
- 13 - the requested vertical datum transformation could not be performed
- 21 - the number of values exceeds the size of an internal buffer
- 24 - the dataset name does not specify irregular time series
- 30 - data times are not monotonically increasing
-
zspd
@Deprecated public static void zspd(int[] ifltab, String cpath, int nord, int ncurve, int ihoriz, String cunitsX, String ctypeX, String cunitsY, String ctypeY, float[] values, String[] clabel, boolean label, float[] headu, int nheadu, int iplan, int[] istat) Deprecated.UsezpdStore(int[], PairedDataContainer)
instead.Stores paired data record. Values are specified in a float array- Parameters:
ifltab
- The file table of the DSS filecpath
- The pathname of the paired data recordnord
- The number of ordinates (number of points per curve)ncurve
- The number of curvesihoriz
- How the curve should be displayed- 1 - display the ordinates on the horizontal axis
- 2 - display the numeric value of the curve labels on the horizontal axis
cunitsX
- The unit of the ordinatesctypeX
- The plotting type of the ordinates- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
cunitsY
- The unit of the curves labels, if numericctypeY
- The plotting type of the curve labels, if numeric- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
values
- The data values as a flat array of (ncurve+1)*nord elements- Values 0 .. nord-1 = ordinates
- Values nord .. 2*nord-1 = curve values for 1st curve
- Values 2*nord .. 3*nord-1 = curve values for 2nd curve
- ...
clabel
- The labels for each curvelabel
- Specifies whether to store curve labelsheadu
- The user header elements. Must have at least nheadu elementsnheadu
- The number of user header elements to storeiplan
- The data storage plan- 0 - always store the record
- 1 - only store the record if no record exists with the pathname
- 2 - only store the record if a record already exists with the pathname
istat
-- 0 - success
- -1 - iplan was 1 but a record existed with the pathname
- -2 - iplan was 2 but no record existed with the pathname
- -3 - the pathname does not meet paired data conventions
- -4 - nord < 1
- -5 - ncurve < 1, ncurve > 100, or the size of values exceeds an internal buffer size
- 13 - the requested vertical datum transformation could not be performed
-
zspdd
@Deprecated public static void zspdd(int[] ifltab, String cpath, int nord, int ncurve, int ihoriz, String cunitsX, String ctypeX, String cunitsY, String ctypeY, double[] values, String[] clabel, boolean label, float[] headu, int nheadu, int iplan, int[] istat) Deprecated.UsezpdStore(int[], PairedDataContainer)
instead.Stores paired data record. Values are specified in a double array- Parameters:
ifltab
- The file table of the DSS filecpath
- The pathname of the paired data recordnord
- The number of ordinates (number of points per curve)ncurve
- The number of curvesihoriz
- How the curve should be displayed- 1 - display the ordinates on the horizontal axis
- 2 - display the numeric value of the curve labels on the horizontal axis
cunitsX
- The unit of the ordinatesctypeX
- The plotting type of the ordinates- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
cunitsY
- The unit of the curves labels, if numericctypeY
- The plotting type of the curve labels, if numeric- UNT - untransformed - display and interpolate linearly
- LOG - logarithmic - display and interpolate logarithmically
- PROB - probability - display and interpolate as percentages
values
- The data values as a flat array of (ncurve+1)*nord elements- Values 0 .. nord-1 = ordinates
- Values nord .. 2*nord-1 = curve values for 1st curve
- Values 2*nord .. 3*nord-1 = curve values for 2nd curve
- ...
clabel
- The labels for each curvelabel
- Specifies whether to store curve labelsheadu
- The user header elements. Must have at least nheadu elementsnheadu
- The number of user header elements to storeiplan
- The data storage plan- 0 - always store the record
- 1 - only store the record if no record exists with the pathname
- 2 - only store the record if a record already exists with the pathname
istat
-- 0 - success
- -1 - iplan was 1 but a record existed with the pathname
- -2 - iplan was 2 but no record existed with the pathname
- -3 - the pathname does not meet paired data conventions
- -4 - nord < 1
- -5 - ncurve < 1, ncurve > 100, or the size of values exceeds an internal buffer size
- 13 - the requested vertical datum transformation could not be performed
-
zsrts
@Deprecated public static void zsrts(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, String units, String type, int[] plan, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.Stores regular time series data. Does not store quality flags, user header, coordinates, or time zone. Does not perform data compression.- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name to store. The D part is ignored as D parts will be generated for each record represented in the datastartDate
- The date of the first data value in a form readable by HecTime.set()startTime
- The time of the first data value in 24-hour clock format (e.g. "1630")number
- The number of values to storedata
- The data valuesunits
- The unit of the valuestype
- The data type of the values (e.g., "INST-VAL", "PER-CUM", etc.)plan
- Element 0 specifies the data storage plan- 0 - always replace values in file
- 1 - only store non-missing values that are missing in file
- 2 - always store all values even if all missing
- 3 - don't create empty records and remove any records made empty
- 4 - don't replace non-missing values with missing values
status
- Element 0 receives the status- 0 - success
- 4 - all data values were missing
- 11 - number < 1
- 12 - invalid time interval (E part)
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate not recognized as a valid date or startTime not recognized as valid time
- 16 - too many values for internal buffer
- 24 - the dataset name doesn't meet regular interval time series conventions
- 30 - file is in read-only mode
- 51 - invalid data compression scheme
- 52 - invalid data compression precision
- 511 - existing record is of different data type
-
zsrtsx
@Deprecated public static void zsrtsx(int[] ifltab, String pathname, String startDate, String startTime, int number, float[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.Stores regular time series data with user header specified as an integer array. Does not store time zone or location coordinates. Values are specified in a float array- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name to store. The D part is ignored as D parts will be generated for each record represented in the datastartDate
- The date of the first data value in a form readable by HecTime.set()startTime
- The time of the first data value in 24-hour clock format (e.g. "1630")number
- The number of values to storedata
- The data valuesflags
- The quality flags for each value if storeFlags != 0. Must have at lest number elements if usedstoreFlags
- Specifies whether to store quality flags with values. Stoning quality flags disables data compressionunits
- The unit of the valuestype
- The data type of the values (e.g., "INST-VAL", "PER-CUM", etc.)userHeader
- The user header elements. Must have at least numberHeader elementsnumberHeader
- The number of user header elements to storeplan
- The data storage plan- 0 - always replace values in file
- 1 - only store non-missing values that are missing in file
- 2 - always store all values even if all missing
- 3 - don't create empty records and remove any records made empty
- 4 - don't replace non-missing values with missing values
compression
- The data compression method to use- 0 - default compression method (file method or previous record method)
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
baseValue
- The base value to be used for the delta compression method, if baseValueSet != 0baseValueSet
- Non-zero if delta method is to use baseValue, otherwise zerohighDelta
- The number of bytes used per value for the delta methoddeltaPrecision
- The precision to use for comparing values with the delta method- -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
status
- Element 0 receives the status- 0 - success
- 4 - all data values were missing
- 11 - number < 1
- 12 - invalid time interval (E part)
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate not recognized as a valid date or startTime not recognized as valid time
- 16 - too many values for internal buffer
- 24 - the dataset name doesn't meet regular interval time series conventions
- 30 - file is in read-only mode
- 51 - invalid data compression scheme
- 52 - invalid data compression precision
- 511 - existing record is of different data type
-
zsrtsc
@Deprecated public static void zsrtsc(int[] ifltab, String pathname, String startDate, String startTime, int number, int storeDouble, float[] floatValues, double[] doubleValues, int[] flags, int storeFlags, String units, String type, double[] coordinates, int numberCoordinates, int[] coordinateDescription, int numbCoordDescription, String supplementaryInfo, int timezoneOffset, String timezoneName, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.Stores regular time series data with user header specified as characters and including time zone and location coordinates- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name to store. The D part is ignored as D parts will be generated for each record represented in the datastartDate
- The date of the first data value in a form readable by HecTime.set()startTime
- The time of the first data value in 24-hour clock format (e.g. "1630")number
- The number of values to storestoreDouble
- Specifies whether the values are in floatValues (0) or doubleValues (non-zero)floatValues
- The data values if storeDoubles == 0. Must have at least number elements if useddoubleValues
- The data values if storeDoubles != 0. Must have at least number elements if usedflags
- The quality flags for each value if storeFlags != 0. Must have at lest number elements if usedstoreFlags
- Specifies whether to store quality flags with values. Stoning quality flags disables data compressionunits
- The unit of the valuestype
- The data type of the values (e.g., "INST-VAL", "PER-CUM", etc.)coordinates
- The x, y, and z coordinates of the locationnumberCoordinates
- The coordinates for the location- 0 - no coordinates specified
- 2 - x and y coordinates specified
- 3 - x, y, and z coordinates specified
coordinateDescription
- Information about the location coordinates- Element 0 - coordinate system
- 0 - no coordinates set
- 1 - latitude & longitude
- 2 - SPCS, FIPS
- 3 - SPCS, ADS
- 4 - UTM
- 5 - local / other
- Element 1 - coordinate system zone (SPCS or UTM only)
- Element 2 - horizontal units
- 0 - unspecified
- 1 - feet
- 2 - meters
- 3 - decimal degrees
- 4 - degrees, minutes, and seconds
- Element 3 - horizontal datum
- 0 - unset
- 1 - NAD83
- 2 - NAD27
- 3 - WGS84
- 4 - WGS72
- 5 - local / other
- Element 4 - vertical units
- 0 - unspecified
- 1 - feet
- 2 - meters
- Element 5 - vertical datum
- 0 - unset
- 1 - NAVD88
- 2 - NGVD29
- 3 - local / other
numbCoordDescription
- The number of elements used in coordinateDescription (0-6)supplementaryInfo
- Information to store in the user headertimezoneOffset
- The offset from UTC of the time zone of the locationtimezoneName
- The name of the time zone of the locationplan
- The data storage plan- 0 - always replace values in file
- 1 - only store non-missing values that are missing in file
- 2 - always store all values even if all missing
- 3 - don't create empty records and remove any records made empty
- 4 - don't replace non-missing values with missing values
compression
- The data compression method to use- 0 - default compression method (file method or previous record method)
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
baseValue
- The base value to be used for the delta compression method, if baseValueSet != 0baseValueSet
- Non-zero if delta method is to use baseValue, otherwise zerohighDelta
- The number of bytes used per value for the delta methoddeltaPrecision
- The precision to use for comparing values with the delta method- -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
status
- Element 0 receives the status- 0 - success
- 4 - all data values were missing
- 11 - number < 1
- 12 - invalid time interval (E part)
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate not recognized as a valid date or startTime not recognized as valid time
- 16 - too many values for internal buffer
- 24 - the dataset name doesn't meet regular interval time series conventions
- 30 - file is in read-only mode
- 51 - invalid data compression scheme
- 52 - invalid data compression precision
- 511 - existing record is of different data type
-
zsrtsxd
@Deprecated public static void zsrtsxd(int[] ifltab, String pathname, String startDate, String startTime, int number, double[] data, int[] flags, int storeFlags, String units, String type, int[] userHeader, int numberHeader, int plan, int compression, float baseValue, int baseValueSet, int highDelta, int deltaPrecision, int[] status) Deprecated.UseztsStore(int[], TimeSeriesContainer, int)
instead.Stores regular time series data with user header specified as an integer array. Does not store time zone or location coordinates. Values are specified in a double array- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name to store. The D part is ignored as D parts will be generated for each record represented in the datastartDate
- The date of the first data value in a form readable by HecTime.set()startTime
- The time of the first data value in 24-hour clock format (e.g. "1630")number
- The number of values to storedata
- The data valuesflags
- The quality flags for each value if storeFlags != 0. Must have at lest number elements if usedstoreFlags
- Specifies whether to store quality flags with values. Stoning quality flags disables data compressionunits
- The unit of the valuestype
- The data type of the values (e.g., "INST-VAL", "PER-CUM", etc.)userHeader
- The user header elements. Must have at least numberHeader elementsnumberHeader
- The number of user header elements to storeplan
- The data storage plan- 0 - always replace values in file
- 1 - only store non-missing values that are missing in file
- 2 - always store all values even if all missing
- 3 - don't create empty records and remove any records made empty
- 4 - don't replace non-missing values with missing values
compression
- The data compression method to use- 0 - default compression method (file method or previous record method)
- 1 - repeated values method
- 2 - delta value method
- 3 - repeat values plus delta value method
- 4 - significant digits method
- 5 - repeated values plus significant digits method
baseValue
- The base value to be used for the delta compression method, if baseValueSet != 0baseValueSet
- Non-zero if delta method is to use baseValue, otherwise zerohighDelta
- The number of bytes used per value for the delta methoddeltaPrecision
- The precision to use for comparing values with the delta method- -6 - .000001
- -5 - .00001
- -4 - .0001
- -3 - .001
- -2 - .01
- -1 - .1
- 0 - 1
- 1 - 10
- 2 - 100
- 3 - 1000
- 4 - 10000
- 5 - 100000
- 6 - 1000000
status
- Element 0 receives the status- 0 - success
- 4 - all data values were missing
- 11 - number < 1
- 12 - invalid time interval (E part)
- 13 - the requested vertical datum transformation could not be performed
- 15 - startDate not recognized as a valid date or startTime not recognized as valid time
- 16 - too many values for internal buffer
- 24 - the dataset name doesn't meet regular interval time series conventions
- 30 - file is in read-only mode
- 51 - invalid data compression scheme
- 52 - invalid data compression precision
- 511 - existing record is of different data type
-
zstfh
public static void zstfh(String[] clabel, String[] citems, int numberItems, float[] header, int headerMax, int[] headerNumber, int[] istat) Converts one or more character key,value pairs into user header elements in a float array- Parameters:
clabel
- The keys. Must have at least numberItems elements. No key can contain the colon (:) or semicolon (;) characterscitems
- The values. Must have at least numberItems elements. No value can contain the colon (:) or semicolon (;) charactersnumberItems
- The number of key,value pairs to convertheader
- The user header elementsheaderMax
- The number of elements in headerheaderNumber
- Set element 0 to 0 on first call to initialize header elements. Element 0 receives the number of elements used (<= headerMax). Subsequent calls may be made to append to the same header by not changing element 0 between calls.istat
- Element 0 recieves the status- 0 - success
- 1 - a key contained all blanks
- 2 - a value contained all blanks
- 3 - more than headerMax elements is require to store all key,value pairs
- 4 - the header is invalid - most likely by not setting headerNumber to 0 on first call
- 5 - numberItems < 1
- See Also:
-
zstfh
public static void zstfh(String[] clabel, String[] citems, int numberItems, int[] header, int headerMax, int[] headerNumber, int[] istat) Converts one or more character key,value pairs into user header elements in an int array- Parameters:
clabel
- The keys. Must have at least numberItems elements. No key can contain the colon (:) or semicolon (;) characterscitems
- The values. Must have at least numberItems elements. No value can contain the colon (:) or semicolon (;) charactersnumberItems
- The number of key,value pairs to convertheader
- The user header elementsheaderMax
- The number of elements in headerheaderNumber
- Set element 0 to 0 on first call to initialize header elements. Element 0 receives the number of elements used (<= headerMax). Subsequent calls may be made to append to the same header by not changing element 0 between calls.istat
- Element 0 recieves the status- 0 - success
- 1 - a key contained all blanks
- 2 - a value contained all blanks
- 3 - more than headerMax elements is require to store all key,value pairs
- 4 - the header is invalid - most likely by not setting headerNumber to 0 on first call
- 5 - numberItems < 1
- See Also:
-
ztsends
public static void ztsends(int[] ifltab, String pathname, int searchOption, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, int[] lfound) Finds the time series extents of a dataset- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name. The D part is ignoredsearchOption
- The search extents- DSS 6
- 0 - performs exhaustive search
- > 0 - limit search to this many blocks each side of last found record. If pathname contains a D part and specifies a record with data, it will be the initial last record found. Otherwise the initial last record found will be the first record in the dataset, if any
- DSS 7 - not used
- DSS 6
startJulian
- Element 0 receives the number of days since 31Dec1899 of the first value found (if lfound[0] != 0)startMinutes
- Element 0 receives the number of minutes into startJulian[0] of the first value found (if lfound[0] != 0)endJulian
- Element 0 receives the number of days since 31Dec1899 of the last value found (if lfound[0] != 0)endMinutes
- Element 0 receives the number of minutes into endJulian[0] of the last value found (if lfound[0] != 0)lfound
- Element 0 receives 0 if no time series values were found, otherwise non-zero. If zero, all other output variables are undefined- See Also:
-
ztsinfo
public static void ztsinfo(int[] ifltab, String pathname, int[] startJulian, int[] startMinutes, int[] endJulian, int[] endMinutes, stringContainer units, stringContainer type, int[] lflags, int[] ldouble, int[] lfound) Retrieves information about a (regular or irregular) time series record- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the recordstartJulian
- Element 0 receives the days since 31Dec1899 of the first valid value in the record, if foundstartMinutes
- Element 0 receives the number of minutes into startJulian of the first valid value in the record, if foundendJulian
- Element 0 receives the days since 31Dec1899 of the last valid value in the record, if foundendMinutes
- Element 0 receives the number of minutes into endJulian of the last valid value in the record, if foundunits
- Receives the unit of the values in the recordtype
- Receives the data type of the values in the record (e.g., "INST-VAL", "PER-CUM", etc.)lflags
- Element 0 receives whether the record contains quality flags, if found (0 = no flags, non-zero otherwise)ldouble
- Element 0 receives whether the values are double precision, if found (0 = not double precision, non-zero otherwise)lfound
- Element 0 receives whether the record was found (0 if not found, non-zero otherwise). If zero, all other output variables are undefined
-
ztsrange
public static void ztsrange(int[] ifltab, String pathname, int searchOption, stringContainer firstPath, stringContainer lastPath, int[] numberFound) Finds the first and last pathname of a time series dataset- Parameters:
ifltab
- The file table of the DSS filepathname
- The dataset name. The D part is ignoredsearchOption
- The search extents- 0 - performs exhaustive search
- > 0 - limit search to this many blocks each side of last found record. If pathname contains a D part and specifies a record with data, it will be the initial last record found. Otherwise the initial last record found will be the first record in the dataset, if any
firstPath
- Receives the first pathname if numberFound > 0lastPath
- Receives the last pathname if numberFound > 0numberFound
- The number of valid records found for the dataset, or -1 on error- See Also:
-
zstxta
@Deprecated public static void zstxta(int[] ifltab, String pathname, String charString, int[] userHeader, int numberHeader, int[] status) Deprecated.UseztextStore(int[], TextContainer)
instead.Stores a text record- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the record to storecharString
- The text to storeuserHeader
- The user header elements to store - must have at least numberHeader elementsnumberHeader
- The number of user header elements to storestatus
- Element 0 receives the status- 0 - success
- -3 - text too long for internal buffer
- -10 - invalid pathname
- -12 - file is in read-only mode
-
zundel
Undeletes a record- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the record to undelete- Returns:
- The status
- 0 - success
- -1 - the deleted record couldn't be found
- -2 - an non-deleted record already exist with that pathname
- -3 - other error
-
zupath
@Deprecated public static void zupath(String pathname, int[] ibpart, int[] iepart, int[] ilpart, int[] istat) Deprecated. -
zustfh
public static void zustfh(String[] clabel, String[] citems, int numberItems, int[] position, float[] header, int headerNumber, int[] istat) Extracts key,value pairs from a float array of user header elements- Parameters:
clabel
- Specifies or receives the keys- SEARCH MODE - set each element to a key to retrieve a value for and set numberItems to the number of keys to retrieve values for. Ensure citems has at least numberItems elements. Not changed on output.
- ENUMERATION MODE - Not used on input. Receives each key, one per call.
citems
- Receives the values- SEARCH MODE - must have at least numberItems elements
- ENUMERATION MODE - must have at least 1 element
numberItems
- The number of keys to retrieve values for- SEARCH MODE - set to the number of keys in clabel
- ENUMERATION MODE - set to 0 on first call and call until position[0] == -1
position
- The enumeration position- SEARCH MODE - not used
- ENUMERATION MODE - set element 0 to 0 on first call. Element 0 receives -1 when enumeration is exhausted
header
- The user header arrayheaderNumber
- The number of elements in the user header arrayistat
- Element 0 recieves the status- 0 - success
- -1 - the user header array doesn't contain a valid internal element count
- -2 - the user header array indicates it has more elements than headerNumber
- 2 - one of the specified keys only partially matched an actual key or the value of the a matched key exceeded the size of a buffer allocated in the JNI
- 4 - a key or value was greater than 60 characters long
- See Also:
-
zustfh
public static void zustfh(String[] clabel, String[] citems, int numberItems, int[] position, int[] header, int headerNumber, int[] istat) Extracts key,value pairs from an int array of user header elements- Parameters:
clabel
- Specifies or receives the keys- SEARCH MODE - set each element to a key to retrieve a value for and set numberItems to the number of keys to retrieve values for. Ensure citems has at least numberItems elements. Not changed on output.
- ENUMERATION MODE - Not used on input. Receives each key, one per call.
citems
- Receives the values- SEARCH MODE - must have at least numberItems elements
- ENUMERATION MODE - must have at least 1 element
numberItems
- The number of keys to retrieve values for- SEARCH MODE - set to the number of keys in clabel
- ENUMERATION MODE - set to 0 on first call and call until position[0] == -1
position
- The enumeration position- SEARCH MODE - not used
- ENUMERATION MODE - set element 0 to 0 on first call. Element 0 receives -1 when enumeration is exhausted
header
- The user header arrayheaderNumber
- The number of elements in the user header arrayistat
- Element 0 recieves the status- 0 - success
- -1 - the user header array doesn't contain a valid internal element count
- -2 - the user header array indicates it has more elements than headerNumber
- 2 - one of the specified keys only partially matched an actual key or the value of the a matched key exceeded the size of a buffer allocated in the JNI
- 4 - a key or value was greater than 60 characters long
- See Also:
-
zwritx
public static void zwritx(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, short[] data, int ndata, int type, int plan, int[] status, int[] found) Stores arbitrary data values specified as shorts to a DSS record.- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the record to storenPathname
- The number of characters in pathnameintheader
- The record internal header. Must have at least nintheader elementsnintheader
- The number of elements in intheader to storecompheader
- The record compression header. Must have at least ncompheader elementsncompheader
- The number of elements in compheader to storeuserheader
- The record user header. Must have at least nuserheader elementsnuserheader
- The number of elements in userheader to storedata
- The values to store. Must have at least ndata elementsndata
- The number of values to storetype
- The record type- 20 - location
- 90 - array (DSS 7 only)
- 91 - integer array (DSS 6 only)
- 92 - float array (DSS 6 only)
- 93 - double array (DSS 6 Only)
- 100 - regular-interval time series
- 101 - regular-interval time series pattern
- 102 - regular-interval time series profile
- 105 - regular-interval time series doubles
- 107 - regular-interval time series double profile
- 110 - irregular-interval time series
- 111 - irregular-interval time series pattern
- 112 - irregular-interval time series profile
- 115 - irregular-interval time series doubles
- 117 - irregular-interval time series double profile
- 200 - paired data
- 205 - paired data doubles
- 300 - text data
- 310 - text table
- 400 - gridded - undefined grid with time
- 401 - gridded - undefined grid
- 410 - gridded - HRAP grid with time reference
- 411 - gridded - HRAP grid
- 420 - gridded - Albers with time reference
- 421 - gridded - Albers
- 430 - gridded - SHG with time reference
- 431 - gridded - SHG
- 450 - spatial - TIN (DSS 7 only)
- 600 - generic file
- 610 - image
plan
- The data storage plan- 0 - always store the record
- 1 - only store the record if no record exists with the pathname
- 2 - only store the record if a record already exists with the pathname
status
- Element 0 receives the status- 0 - success
- -1 - plan was 2 but no record existed with the pathname
- -2 - plan was 1 but a record existed with the pathname
- -10 - invalid pathname
- -11 - invalid number of values
- -12 - file is in read-only mode
found
- Element 0 receives 0 if an existing record with the pathname was not found, otherwise 0
-
zwritxBytes
public static void zwritxBytes(int[] ifltab, String pathname, int nPathname, int[] intheader, int nintheader, int[] compheader, int ncompheader, int[] userheader, int nuserheader, byte[] data, int ndata, int type, int plan, int[] status, int[] found) Stores arbitrary data values specified as bytes to a DSS record.- Parameters:
ifltab
- The file table of the DSS filepathname
- The pathname of the record to storenPathname
- The number of characters in pathnameintheader
- The record internal header. Must have at least nintheader elementsnintheader
- The number of elements in intheader to storecompheader
- The record compression header. Must have at least ncompheader elementsncompheader
- The number of elements in compheader to storeuserheader
- The record user header. Must have at least nuserheader elementsnuserheader
- The number of elements in userheader to storedata
- The values to store. Must have at least ndata elementsndata
- The number of values to storetype
- The record type- 20 - location
- 90 - array (DSS 7 only)
- 91 - integer array (DSS 6 only)
- 92 - float array (DSS 6 only)
- 93 - double array (DSS 6 Only)
- 100 - regular-interval time series
- 101 - regular-interval time series pattern
- 102 - regular-interval time series profile
- 105 - regular-interval time series doubles
- 107 - regular-interval time series double profile
- 110 - irregular-interval time series
- 111 - irregular-interval time series pattern
- 112 - irregular-interval time series profile
- 115 - irregular-interval time series doubles
- 117 - irregular-interval time series double profile
- 200 - paired data
- 205 - paired data doubles
- 300 - text data
- 310 - text table
- 400 - gridded - undefined grid with time
- 401 - gridded - undefined grid
- 410 - gridded - HRAP grid with time reference
- 411 - gridded - HRAP grid
- 420 - gridded - Albers with time reference
- 421 - gridded - Albers
- 430 - gridded - SHG with time reference
- 431 - gridded - SHG
- 450 - spatial - TIN (DSS 7 only)
- 600 - generic file
- 610 - image
plan
- The data storage plan- 0 - always store the record
- 1 - only store the record if no record exists with the pathname
- 2 - only store the record if a record already exists with the pathname
status
- Element 0 receives the status- 0 - success
- -1 - plan was 2 but no record existed with the pathname
- -2 - plan was 1 but a record existed with the pathname
- -10 - invalid pathname
- -11 - invalid number of values
- -12 - file is in read-only mode
found
- Element 0 receives 0 if an existing record with the pathname was not found, otherwise 0
-
getCurrentRec
public static int getCurrentRec()Retrieves the current item in an ongoing multi-item operation. Same result as callingzquery(String, stringContainer, int[])
with parameter "CURR"- Returns:
- The current item
-
zmessage
Outputs a message- Parameters:
ifltab
- The file table of the DSS filemessage
- The message to output
HecTime.datjul(String, intContainer, intContainer)
instead.