Access the Opendap Link above, and find the nc file you want.

Then, click the “html” option.

Untitled

Put the “html” address into variable “url” in the below code.

import wget
url = "<http://www.nosc.go.kr/opendap/GOCI-II/2023/11/21/L2/GK2_GC2_L2_20231121_231530/GK2B_GOCI2_L2_20231121_231530_LA_S007_Chl.nc>"
wget.download(url)