#!/bin/csh
## how to get the ghrsst
set echo
foreach y (2023)
 foreach mm ( 02  )
   setenv m `echo ${mm} | awk '{printf("%02d", $1)}'`
   setenv m1 `echo ${mm} | awk '{printf("%02d", $1+1)}'`
   setenv y1 ${y} 
   if (${mm} == 12) then
    setenv m1 01
    setenv y1 `echo ${y} | awk '{printf("%04d", $1+1)}'`
   endif
   podaac-data-downloader -c K10_SST-NAVO-L4-GLOB-v01 -d ./ --start-date ${y}-${m}-01T00:00:00Z --end-date ${y1}-${m1}-01T00:00:00Z

 end
end 

