Skip to content

KGO checksums failing on download #119

@jefftyoder

Description

@jefftyoder

Hey COSP contributors,

I'm testing the COSP code locally with the goal of integrating it with the CliMA atmospheric model. Currently, the checksums are failing when I download the known good outputs (KGOs) using the provided shell script. Please find the command and output below.

$ sh ./download_test_data.sh
KGO_VERSION=v002
--2025-06-16 14:44:31--  https://docs.google.com/uc?export=download&id=17eK4_DVEvFOE9Uf6siXJDpWZJKT1aqkU
Resolving docs.google.com (docs.google.com)... 142.250.68.14
Connecting to docs.google.com (docs.google.com)|142.250.68.14|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://drive.usercontent.google.com/download?id=17eK4_DVEvFOE9Uf6siXJDpWZJKT1aqkU&export=download [following]
--2025-06-16 14:44:31--  https://drive.usercontent.google.com/download?id=17eK4_DVEvFOE9Uf6siXJDpWZJKT1aqkU&export=download
Resolving drive.usercontent.google.com (drive.usercontent.google.com)... 142.250.188.225
Connecting to drive.usercontent.google.com (drive.usercontent.google.com)|142.250.188.225|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6954790 (6.6M) [application/octet-stream]
Saving to: ‘data/inputs/UKMO/cosp_input.um_global.nc.gz’

data/inputs/UKMO/cosp_inp 100%[==================================>]   6.63M  14.3MB/s    in 0.5s

2025-06-16 14:44:54 (14.3 MB/s) - ‘data/inputs/UKMO/cosp_input.um_global.nc.gz’ saved [6954790/6954790]

cosp_input.um_global.nc: OK
--2025-06-16 14:44:54--  https://docs.google.com/uc?export=download&id=1oQBJGFg0F8k-LhRGsCYn-qWzmMMVfQ6K
Resolving docs.google.com (docs.google.com)... 142.250.68.14
Connecting to docs.google.com (docs.google.com)|142.250.68.14|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://drive.usercontent.google.com/download?id=1oQBJGFg0F8k-LhRGsCYn-qWzmMMVfQ6K&export=download [following]
--2025-06-16 14:44:54--  https://drive.usercontent.google.com/download?id=1oQBJGFg0F8k-LhRGsCYn-qWzmMMVfQ6K&export=download
Resolving drive.usercontent.google.com (drive.usercontent.google.com)... 142.250.188.225
Connecting to drive.usercontent.google.com (drive.usercontent.google.com)|142.250.188.225|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 510550 (499K) [application/octet-stream]
Saving to: ‘data/outputs/UKMO/cosp2_output_um.gfortran.kgo.v002.nc.gz’

data/outputs/UKMO/cosp2_o 100%[==================================>] 498.58K  --.-KB/s    in 0.08s

2025-06-16 14:45:01 (6.16 MB/s) - ‘data/outputs/UKMO/cosp2_output_um.gfortran.kgo.v002.nc.gz’ saved [510550/510550]

cosp2_output_um.gfortran.kgo.v002.nc: FAILED
md5sum: WARNING: 1 computed checksum did NOT match
--2025-06-16 14:45:01--  https://docs.google.com/uc?export=download&id=1b7qwJWqDzoZGcIP0qyUprTV_LErCGpT6
Resolving docs.google.com (docs.google.com)... 142.250.68.14
Connecting to docs.google.com (docs.google.com)|142.250.68.14|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://drive.usercontent.google.com/download?id=1b7qwJWqDzoZGcIP0qyUprTV_LErCGpT6&export=download [following]
--2025-06-16 14:45:01--  https://drive.usercontent.google.com/download?id=1b7qwJWqDzoZGcIP0qyUprTV_LErCGpT6&export=download
Resolving drive.usercontent.google.com (drive.usercontent.google.com)... 142.250.188.225
Connecting to drive.usercontent.google.com (drive.usercontent.google.com)|142.250.188.225|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16387667 (16M) [application/octet-stream]
Saving to: ‘data/outputs/UKMO/cosp2_output.um_global.gfortran.kgo.v002.nc.gz’

data/outputs/UKMO/cosp2_o 100%[==================================>]  15.63M  13.4MB/s    in 1.2s

2025-06-16 14:45:13 (13.4 MB/s) - ‘data/outputs/UKMO/cosp2_output.um_global.gfortran.kgo.v002.nc.gz’ saved [16387667/16387667]

cosp2_output.um_global.gfortran.kgo.v002.nc: FAILED
md5sum: WARNING: 1 computed checksum did NOT match
--2025-06-16 14:45:14--  https://docs.google.com/uc?export=download&id=1NvTo3bYaGpz-FUpZ4jta_kRzA04xTCsn
Resolving docs.google.com (docs.google.com)... 142.250.68.14
Connecting to docs.google.com (docs.google.com)|142.250.68.14|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://drive.usercontent.google.com/download?id=1NvTo3bYaGpz-FUpZ4jta_kRzA04xTCsn&export=download [following]
--2025-06-16 14:45:14--  https://drive.usercontent.google.com/download?id=1NvTo3bYaGpz-FUpZ4jta_kRzA04xTCsn&export=download
Resolving drive.usercontent.google.com (drive.usercontent.google.com)... 142.250.188.225
Connecting to drive.usercontent.google.com (drive.usercontent.google.com)|142.250.188.225|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16571461 (16M) [application/octet-stream]
Saving to: ‘data/outputs/UKMO/cosp2_output.um_global_model_levels.gfortran.kgo.v002.nc.gz’

data/outputs/UKMO/cosp2_o 100%[==================================>]  15.80M  11.3MB/s    in 1.4s

2025-06-16 14:45:21 (11.3 MB/s) - ‘data/outputs/UKMO/cosp2_output.um_global_model_levels.gfortran.kgo.v002.nc.gz’ saved [16571461/16571461]

cosp2_output.um_global_model_levels.gfortran.kgo.v002.nc: FAILED
md5sum: WARNING: 1 computed checksum did NOT match

I am running this on a MacBook with an M1 (arm64) chip. I have the working precision set to double in cost_kinds.F90.
Below are the contents of my Makefile.conf:

F90      = gfortran
F90FLAGS = -O3 -ffree-line-length-none -fcheck=bounds -finit-real=nan

NFHOME    = /opt/homebrew/Cellar/netcdf-fortran/4.6.2
NC_C_HOME = /opt/homebrew/Cellar/netcdf/4.9.3
NC_INC    = -I$(NFHOME)/include -I$(NC_C_HOME)/include
NC_LIB    = -L$(NFHOME)/lib -L$(NC_C_HOME)/lib -lnetcdff -lnetcdf

I've been working on troubleshooting this for a while, so any help would be greatly appreciated.

-Jeff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions