About generating ParFlow atmospheric forcing

57 views
Skip to first unread message

ERICK RAUL OLVERA PRADO

unread,
Oct 16, 2024, 2:54:50 PM10/16/24
to ParFlow
Hello Everyone,

I have a question about generating the atmospheric forcing for a Parflow simulation. I have already set up the domain on my region of study in Mexico (Panuco's river watershed). Completed a Parking Lot test, and generated the input files for Parflow-CLM.

Now, I am in the process of preparing the atmospheric forcing. In the present simulation, I would like to use gridded data from an atmospheric model (like WRF) to generate spatially distributed input files. In that sense, I was wondering if there is any set of tools to process the model data (regridding, clipping, etc.) and get the *.pfb input files?

Many thanks in advance.

Best,
Erick


ALIX REVERDY

unread,
Oct 17, 2024, 6:26:22 AM10/17/24
to ERICK RAUL OLVERA PRADO, ParFlow
Hello,
If you get your data in netcdf format you could have a look at the cdo command (bash). It is dedicated to operations on spatial climate time series (reprojection, averaging, extraction...) and quite calculation efficient. As of converting netcdf to pfb I'll let someone more experimented answer, but they are definitely tools in the pftools python library to do so.
Best regards
Alix

Alix Reverdy
PhD student
IGE - PHyREV/CHIANTI
UGA - ED STEP
alix.r...@univ-grenoble-alpes.fr
Absent le mercredi

Mes horaires de travail peuvent être décalés, si vous recevez cet email en dehors des horaires de bureau, je n'attends en aucun cas une réponse immédiate.


De: "ERICK RAUL OLVERA PRADO" <erol...@izt.uam.mx>
À: "ParFlow" <par...@googlegroups.com>
Envoyé: Mercredi 16 Octobre 2024 20:53:41
Objet: About generating ParFlow atmospheric forcing

--
You received this message because you are subscribed to the Google Groups "ParFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to parflow+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parflow/c92d3abf-43ee-41f0-83f3-13e2830fbefen%40googlegroups.com.

Reed M. Maxwell

unread,
Oct 17, 2024, 7:50:19 AM10/17/24
to ALIX REVERDY, ERICK RAUL OLVERA PRADO, ParFlow

Thanks for the replies.  The easiest way is to save PFB files using the python PFTools package.; there are lots of ways to do this workflow you only need to have your variables in a NumPy array to save.   You can save multiple timesteps per file for each of the eight forcing variables.  The details are in the manual under the Solver.CLM.MetForcing key section:

 

The HydroFrame ParFlow Resources page is a good landing spot for many scripts that show how to do this. The ParFlow Python Short Course materials are a good starting point.  We demo how to use the PFTools Python toolset here.  You can look at the Little Washita example.

 

Reed

 

Reed M. Maxwell, Ph.D.
William and Edna Macaleer Professor

Department of Civil and Environmental Engineering

High Meadows Environmental Institute

Director, Integrated GroundWater Modeling Center

Princeton University

maxwell.princeton.edu

igwmc.princeton.edu

 

 

Reply all
Reply to author
Forward
0 new messages