mkudamatsu / data_dmsp-ols

2 stars 1 forks source link

Write the Python code to download data #1

Open mkudamatsu opened 6 years ago

mkudamatsu commented 6 years ago

Currently all the data is copied from another folder in my computer.

But I have to replicate this with Python.

  1. Download each data from https://ngdc.noaa.gov/eog/dmsp/downloadV4composites.html
  2. Unzip it. This creates three sets of data with readme file.
  3. Move readme file to the /docs folder
  4. Unzip the .tif.gz files.
  5. Keep stable_lights.avg_vis.tfw and stable_lights.avg_vis.tif in the /data folder.
  6. Remove all the other files (they take up large disk space).

For deblurring, we also need to download the pct images.

mkudamatsu commented 6 years ago

It turns out that the pct_lights data for F182011 is missing (confirmed by NOAA staff on 22 May, 2018). As the deblurring process requires the pct_lights data, the year 2011 nighttime light data cannot be deblurred at this moment.

mkudamatsu commented 6 years ago

The Python script to download stable_lights data hasn't been written yet.