Code Monkey home page Code Monkey logo

Comments (7)

mikejohnson51 avatar mikejohnson51 commented on June 22, 2024 1

@SnowHydrology Working through this and am close... however there is something odd... the chance I did something wrong is not 0 but this is what I am seeing:

In the SOIL map (ISLTYP) there appears to be a glacier in Florida. I changed values of 16 (ice) to 100 just to be visually nice.

Does this bother any of you haha?

library(hydrofabric)

wrf  = correct_nwm_spatial('/Volumes/MyBook/conus-hydrofabric/nwm_v3.0.7/conus/wrfinput_CONUS.nc')

AOI = AOI::aoi_get(state = "FL")

crop(wrf[['ISLTYP_Time=1']], project(vect(AOI), crs(wrf))) %>% 
  classify(data.frame(from = 16, to = 100)) %>% 
  plot()

Created on 2024-02-07 with reprex v2.0.2

from hydrofabric.

SnowHydrology avatar SnowHydrology commented on June 22, 2024 1

I'd say that is generally unreasonable.

Is there something we're missing or is this a problem?

from hydrofabric.

mikejohnson51 avatar mikejohnson51 commented on June 22, 2024

Yeah .... the code is good. That cluster of 16 is there for sure:

image

from hydrofabric.

SnowHydrology avatar SnowHydrology commented on June 22, 2024

Hmm, any chance they're using a different soil classification than our SOILPARM.TBL?

The public WRF-Hydro version shows the same table, but maybe operational version is different.

from hydrofabric.

mikejohnson51 avatar mikejohnson51 commented on June 22, 2024

I dont think so, it is surrounded by 4 (SILT LOAM) ,6 (SILT) ,13 (ORGANIC MATERIAL). Which seem reasonable.

And if I do the same with CONUS (Ice becomes 100 for visibility) its generally reasonable but definitely has some questionable areas.

image

from hydrofabric.

mikejohnson51 avatar mikejohnson51 commented on June 22, 2024

I am confident that in the wrfinput associated with NWM 3.0.7, those are where class 16 exists. I only have found tables where class 16 is (OTHER; INLAND ICE).

Someone in GID thought it might be a model hack...

from hydrofabric.

mikejohnson51 avatar mikejohnson51 commented on June 22, 2024

However! If we were to rebuild landcover and soil grids this is a good time to inplement some of @DonnyDHKim and my work on land cover resampling:

An area preserving method for improved categorical raster resampling

Untangling the impacts of land cover representation and resampling in distributed hydrological model predictions

from hydrofabric.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.