Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

CAM - PORT - Input file datatype - error on data conversion

divy@mit_edu

New Member
Hi,
I'm trying to run the radiation code of CAM (PORT) and using my own input files. There seems to be some error in terms of the datatype of my input data. The original data is float64 and I have written the netcdf file to also be float64 (and have tried float32).
I'm using PGI13.8 and have also tried with Intel.
Any suggestions would be greatly appreciated!
Thanks,
Diane


------------------------------------------------------------------------------------------------------------
Opened existing file
/net/fs02/d3/divy/cesm/port_runs/port_inputs/BDBP84_GHG79/BDBP79_GHG79_DATA.cam.h1.0000-01-01-00000.nc
65536
PGFIO-F-231/formatted read/internal file/error on data conversion.
In source file /home/divy/cesm1_2_0/models/atm/cam/src/chemistry/utils/drv_input_data.F90, at line number 129
PGFIO-F-231/formatted read/internal file/error on data conversion.
------------------------------------------------------------------------------------------------------------
 

eaton

CSEG and Liaisons
Here is the code in drv_input_data.F90:   ref_date_str = time_units(12:21)
    ref_year_str = ref_date_str(1:4)
    ref_mon_str = ref_date_str(6:7)
    ref_day_str = ref_date_str(9:10)

    read(ref_year_str,fmt='(I4)') ref_year    
 
Top