diff --git a/idlcr8ascii.pro b/idlcr8ascii.pro
index b4e26c14a983e1c85d53ea23f967ed8f50cee33c..c54873687d128f677fe26b476384a43ee1df2844 100644
--- a/idlcr8ascii.pro
+++ b/idlcr8ascii.pro
@@ -1,4 +1,4 @@
-;Main Program Version: idlcr8ascii.pro v4.0b27, 20240927
+;Main Program Version: idlcr8ascii.pro v4.0b28, 20241126
 ;  Written by Ian Boyd for the EVDC/AVDC - iboyd@bryanscientific.org
 ;
 ;Sub-versions:
@@ -98,6 +98,9 @@
 ;  v4.0b26 20240912  - For NetCDF3 files only output WARNING to check for signed BYTE entries when the dataset
 ;                    is of type BYTE (infotxt_output_a message 23).
 ;  v4.0b27 20240927  - For netCDF4 files allow for additional standard netCDF attribute names.
+;  v4.0b28 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.
 
 PRO idlcr8ascii_common
 ;Procedure to define the data COMMON block WIDGET_WIN_A, containing common variables
@@ -217,7 +220,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.0b27 September 2024']
+vertxt=['idlcr8ascii-v4.0_Readme.pdf','v4.0b28 November 2024']
 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]+').'
@@ -1334,8 +1337,11 @@ PRO read_hdf_sds, ifile, ga, sds, catinfo
 ;              converts SDS_NAME to VAR_NAME for testing, otherwise generates an error; Add code to
 ;              collect information for the call to the DATA_TYPE_CHECKS procedure; Generate an 
 ;              INFORMATION/ERROR message if VAR_UNITS is numeric (same as VAR_SIZE); INFORMATION/ERROR 
-;              message added if a mis-match is found between the input file name and the FILE_NAME attribute value.
- 
+;              message added if a mis-match is found between the input file name and the FILE_NAME 
+;              attribute value - Version 4.0b25
+;    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
 ;
 ;  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')
@@ -1777,6 +1783,12 @@ ENDIF ELSE IF (ftype EQ 'H5') OR (ftype EQ 'N4') THEN BEGIN ;HDF5 or netCDF4 for
     FOR i=0L,n_ga-1L DO BEGIN
       ga_id=H5A_OPEN_IDX(sd_id,i)
       ga_name=H5A_GET_NAME(ga_id) & ga_name=STRTRIM(ga_name,2)
+      ;Check for spaces in ga_name and replace with '_' (which is what is done with H5_PARSE read for non-alphanumeric characters)
+      res=STRSPLIT(ga_name,' ',/EXTRACT,COUNT=rcnt)
+      IF rcnt GT 1 THEN BEGIN
+        ga_name=res[0]
+        FOR j=1,rcnt-1 DO ga_name=ga_name+'_'+res[j]
+      ENDIF
       ;Check for netCDF4 specific attributes and ignore
       nc4i=WHERE(STRLOWCASE(ga_name) EQ nc4_ignore,nc4icnt)
       IF nc4icnt EQ 0 THEN BEGIN            
@@ -2656,7 +2668,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.0b27 (20240927)
+;Program sub-version 4.0b28 (20241126)
 ; ----------
 ;Written by Ian Boyd for the EVDC/AVDC - iboyd@bryanscientific.org
 ;