oceanhackweek / ohw23_proj_sea_ice_oscillations

This repo is for the OHW23 marginal ice zone inertial oscillations project
1 stars 7 forks source link

Workflow 3) Reproject all images from swath coordinates to a common lat/lon grid #11

Open lauracrews opened 1 year ago

lauracrews commented 1 year ago

Goal: Regrid from pesky swath coordinates to something more useful

What should our method do?

How do we do it?

What questions or issues remain?

lauracrews commented 1 year ago

Update, 10 August (Thursday) morning:

Laura will work on this task this morning. Dalton was having some luck with

scn = Scene(filenames=glob('VNPnc'), reader='viirs_l1b') local_scn = scn.resample()

which seemed to be putting all files in scn to a common grid.

Remaining questions

By running

from satpy import available_readers available_readers()

I find that there's also the reader 'viirs_l2_cloud_mask_nc' which seems like it would be required for reading the L2 cloud masks

abkfenris commented 1 year ago

For working with multiple passes, it helps to have a shared grid to resample to. It looks like by default Scene.resample() will most likely try to maximize each source, but it's possible to pass a grid for it to resample to.