Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geoms_qa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geoms
geoms_qa
Commits
049bab0e
Commit
049bab0e
authored
2 months ago
by
Ian Boyd
Browse files
Options
Downloads
Patches
Plain Diff
Replace idlcr8ascii.pro
parent
08b55665
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
idlcr8ascii.pro
+6
-4
6 additions, 4 deletions
idlcr8ascii.pro
with
6 additions
and
4 deletions
idlcr8ascii.pro
+
6
−
4
View file @
049bab0e
;
Main
Program
Version
:
idlcr8ascii
.
pro
v4
.
0
b
29
,
202
41210
;
Main
Program
Version
:
idlcr8ascii
.
pro
v4
.
0
b
30
,
202
50124
;
Written
by
Ian
Boyd
for
the
EVDC
/
AVDC
-
iboyd
@
bryanscientific
.
org
;
;
Sub
-
versions
:
...
...
@@ -221,7 +221,7 @@ COMMON WIDGET_WIN_A
;procedure which provides an introduction message before starting the program.
nhdr=46 & errtxt=STRARR(nhdr)
vertxt=['idlcr8ascii
-
v4
.
0
_Readme
.
pdf','v4
.
0
b
29
December
202
4
']
vertxt=['idlcr8ascii
-
v4
.
0
_Readme
.
pdf','v4
.
0
b
30
January
202
5
']
errtxt[1]='
Welcome
to
IDLcr8ASCII
.
This
program
reads
GEOMS
compliant
HDF4
,
HDF5
and
netCDF
files
and'
errtxt[2]='saves
contents
to
either
session
memory
,
an
output
window
(
summary
only
)
or
to
ASCII
or
formatted'
errtxt[3]='files
(
also
refer
to
'+vertxt[0]+'
).
'
...
...
@@ -1346,6 +1346,8 @@ PRO read_hdf_sds, ifile, ga, sds, catinfo
; 20241126 Check for spaces in netCDF4 and HDF5 ga_name values and replace with '
_
' when comparing
; with H5_PARSE output. H5_PARSE does this for non-alphanumeric characters when reading a
; netCDF4 or HDF5 file - Version 4.0b28
; 20250124 Fix bug when doing QA on NetCDF3 files and checking for BYTE values in pre-defined
; attributes. Need to allow for the possibility of more than one value - Version 4.0b30
;
; Inputs: ifile - a string containing the name of the input file to be read in.
; catinfo - a string array identifying the type of input file ('
H4
','
H5
','
N4
','
N3
')
...
...
@@ -2219,7 +2221,7 @@ ENDIF ELSE BEGIN ;netCDF3 file (N3)
IF (vavtype EQ 7) OR (vavtype EQ 1) THEN va_type='
STRING
' ELSE va_type='
NON
-
STRING
'
hdftypehold=attstruct.datatype
IF hdftypehold EQ '
BYTE
' THEN $
IF va_value LT 0 THEN hdftypehold='
BYTE_1
' ELSE hdftypehold='
BYTE_0
'
IF va_value
[0]
LT 0 THEN hdftypehold='
BYTE_1
' ELSE hdftypehold='
BYTE_0
'
;This doesn't
work
as
NCDF_VARGET
converts
BYTE
values
to
8
-
bit
unsigned
if
they
are
negative
signed
values
idltypehold
=
vavtype
...
...
@@ -2672,7 +2674,7 @@ PRO idlcr8ascii, ifile, ga, sds, reterr, $
;
;
Program
documentation
,
idlcr8ascii
-
v4
.
0
_Readme
.
pdf
,
available
on
http
://
avdc
.
gsfc
.
nasa
.
gov
.
;
;
Program
sub
-
version
4.0
b
29
(
202
41210
)
;
Program
sub
-
version
4.0
b
30
(
202
50124
)
;
----------
;
Written
by
Ian
Boyd
for
the
EVDC
/
AVDC
-
iboyd
@
bryanscientific
.
org
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment