[Met_help] [RAL-IT #111992] History for MET modis_regrid help

George McCabe via RT met_help at ucar.edu
Mon Jun 3 09:57:38 MDT 2024


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hello,

I'm writing to ask what a grid_file should look like for converting a MODIS
HDF file to gridded NETCDF. I'm following the instructions here:
https://dtcenter.org/book/export/html/952
but I'm not able to explore the listed data_file from the tutorial to see
what format I should be copying. I am trying to run this command below,
where the data_file is a 0.05-deg MODIS file containing lat/lon information
and the input_file is a stitched 500m file I created using HDF-Eos tools
and I'm trying to regrid this to 0.05-deg. However I get an error that the
data_file I'm specifying below is not a valid data file. Can you please
help?

modis_regrid \
-data_file
/work2/noaa/co2/kaushik/MODIS/MCD12C1_v061/MCD12C1.A2020001.061.2022172062638.hdf
\
-field LC_Prop3 \
-out /work2/noaa/co2/kaushik/MODIS/MCD12Q1_v061/2020_test_regrid.nc \
-scale 1.0 \
-offset 0.0 \
-fill -1 \
/work2/noaa/co2/kaushik/MODIS/MCD12Q1_v061/MCD12Q1_A2020.hdf

Thanks for your time!
Aleya

-- 
Dr. Aleya Kaushik
Research Scientist
CIESRDS and CIRES | University of Colorado Boulder
Working in the NOAA Global Monitoring Laboratory
325 Broadway GML | Boulder, CO 80305
Google Voice: ‪(720) 263-6375‬


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: MET modis_regrid help
From: George McCabe
Time: Mon Jun 03 09:57:30 2024

User created a GitHub Discussion topic for this issue here:
https://github.com/dtcenter/METplus/discussions/2605
Closing.

------------------------------------------------


More information about the Met_help mailing list