Changeset 3648 for trunk/LMDZ.MARS
- Timestamp:
- Feb 26, 2025, 9:55:23 AM (4 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3619 r3648 4773 4773 == 11/02/2025 == JBC 4774 4774 Addition of 'zdqsdif_ssi_tot", the total flux with sub-surface water ice, in the "startfi.nc" file. Only used under paleoclimate flag. 4775 4776 == 26/02/2025 == JBC 4777 Skipping non-numeric variables in the analysis of NetCDF files. -
trunk/LMDZ.MARS/util/analyse_netcdf.py
r3465 r3648 80 80 for variable_name in dataset.variables: 81 81 variable = dataset.variables[variable_name] 82 analyze_variable(variable) 82 if np.issubdtype(variable[:].dtype,np.number): 83 analyze_variable(variable) 84 else: 85 print(f"\nSkipping non-numeric variable: {variable.name}") 83 86 84 87 # Close the NetCDF file … … 87 90 ### Call the main function 88 91 analyze_netcdf() 89
Note: See TracChangeset
for help on using the changeset viewer.